Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Work around to enable changing the C++ linker
Work around to enable changing the C++ linker [message #127706] Thu, 18 November 2004 08:16 Go to next message
Eclipse UserFriend
Using latest release (3.0.1 & CDT 2.0.2) on Linux (Suse) and a Managed Build
Project, I want to change the linker from g++ to mingw32-g++. However there
appears to be a bug (which I've reported) that crashes eclipse when you
select "C++ Build">"GCC C++ Linker" from Project>Preferences.

Has anyone else experienced this problem, do you have a work around?

I've tried editing .cdtproject to use mingw32-g++ but cdt just ignores the
change and if I change any other Linker options from Projects>Preferences
it changes it back to g++.

Thanks,
Tim
Re: Work around to enable changing the C++ linker [message #127835 is a reply to message #127706] Fri, 19 November 2004 03:15 Go to previous message
Eclipse UserFriend
A work around involves editing .cdtbuild to contain something like:

<toolReference id="cdt.managedbuild.tool.gnu.cpp.linker"
command="mingw32-g++" outputPrefix="" outputFlag="-o" outputs="">
</toolReference>

Saving it, closing and opening the project.


Tim Milward wrote:

> Using latest release (3.0.1 & CDT 2.0.2) on Linux (Suse) and a Managed
> Build Project, I want to change the linker from g++ to mingw32-g++.
> However there appears to be a bug (which I've reported) that crashes
> eclipse when you select "C++ Build">"GCC C++ Linker" from
> Project>Preferences.
>
> Has anyone else experienced this problem, do you have a work around?
>
> I've tried editing .cdtproject to use mingw32-g++ but cdt just ignores the
> change and if I change any other Linker options from Projects>Preferences
> it changes it back to g++.
>
> Thanks,
> Tim
Previous Topic:content assist disabled
Next Topic:Output isn't flushed
Goto Forum:
  


Current Time: Tue Jul 29 06:44:04 EDT 2025

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

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

Back to the top