|
Re: GNU Managed Builds [message #157104 is a reply to message #156684] |
Mon, 31 October 2005 17:54 |
Henning Riedel Messages: 310 Registered: July 2009 |
Senior Member |
|
|
Hugh O'Keeffe schrieb:
> I'm trying to create a plugin for a new GNU tool. It's slightly different
> from the already supported CDT GNU tools e.g. the
> compiler/linker/assembler
> have different executable names and different user settable switches (which
> I want to allow the user to select graphically).
> My approach is to copy the existing plug-in
> ("org.eclipse.cdt.managedbuilder.gnu.ui_3.0.0") and base my new plugin on
> this.
>
> Some questions:
>
> 1. Is this the best approach ?
Does the current toolchain for gcc have different compiler/linker
switches, or is there just other naming, and/or additional switches?
If yes, then your approach seems reasonable. Otherwise, take a first
look on the MBS-documentation, maybe its sufficient to create a new
toolchain by adding a plugin.xml under a new toolchain plugin.
The switches declared in plugin.xml correlate to the UI, I think. (did
not take a look lately, since I use a new toolchain right now at work).
> 2. The existing plug seems to add the MINGW header files to a new project
> automatically. How is this controlled ? (I need to disable it).
This can be disabled in the project settings under "Discovery Settings"
Tab. This also depends if your MinGW or cygwin is installed and which
one is first in PATH. (Should be changeable when using absolut paths to
the tools in the settings pages).
> Thanks in advance,
>
> Hugh,,
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03592 seconds