Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » GNU Managed Builds
GNU Managed Builds [message #156684] Mon, 24 October 2005 11:14 Go to next message
Hugh O'Keeffe is currently offline Hugh O'KeeffeFriend
Messages: 2
Registered: July 2009
Junior Member
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 ?

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).


Thanks in advance,

Hugh,,
Re: GNU Managed Builds [message #157104 is a reply to message #156684] Mon, 31 October 2005 17:54 Go to previous message
Henning Riedel is currently offline Henning RiedelFriend
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,,
>
>
Previous Topic:How to include path in Standard project
Next Topic:The CDT can not work!
Goto Forum:
  


Current Time: Thu Nov 14 09:06:52 GMT 2024

Powered by FUDForum. Page generated in 0.03592 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top