|Where to call external compiler [message #324651]
||Tue, 29 January 2008 20:29
Originally posted by: weber.lars.googlemail.com|
I want to call an external command line compiler like gcc or dmd.
The question is, where to put this compiler call?
A org.eclipse.core.resources.ICommand or is there a better place?
Also I found no code example on koders.com how the call is made and the
output is rerouted into the eclipse console.
Greetings from Germany,
|Re: Where to call external compiler [message #324652 is a reply to message #324651]
||Tue, 29 January 2008 20:33
Originally posted by: wharley.bea.com|
"Lars Weber" <firstname.lastname@example.org> wrote in message
> I want to call an external command line compiler like gcc or dmd.
> The question is, where to put this compiler call?
Normally, this would either be part of your configured toolchain (assuming
that you are working on a C/C++ project and have installed and configured
the CDT component of Eclipse).
If you're not working on a C/C++ project, but just need to be able to invoke
a command line utility, you might use the External Tools menu item.
If you need to invoke it as part of a build, perhaps the right answer is to
wrap the command into an ant script, invoked either by right-clicking the
ant script or, again, via the External Tools menu.
If these answers are not making sense, please provide some additional detail
about what you're trying to do and why.
|Re: Where to call external compiler [message #687811 is a reply to message #324652]
||Thu, 23 June 2011 05:46
| Siddharth Bora
Registered: May 2011
I have a similar task to perform wherein which I am creating a plugin for a new language. Now I have a simulator for this language already available in OCaml and I have created an editor for this language as a plugin in eclipse.|
Now how do i put a button that will say Simulate on the editor that compiles the file that is open. I mean how do i call the simulator for which the terminal command I know.
Hope someone replies.
Powered by FUDForum
. Page generated in 0.11631 seconds