|Where to call external compiler [message #324651]
||Wed, 30 January 2008 01: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]
||Wed, 30 January 2008 01: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.
Powered by FUDForum
. Page generated in 0.01955 seconds