changing the compiler on CDT [message #164320] |
Thu, 23 February 2006 07:04  |
Eclipse User |
|
|
|
Originally posted by: jens.dreadweb.de
Hi everybody,
I just installed CDT 3.0.2 on Eclipse 3.1.0 on Windows XP. My problem is:
I have several C/C++ Compilers installed on my machine: One GCC in a
Cygwin Environment in c:\cygwin, and two MinGW GCCs installed for
convenience with the Dev-C++ and Code::Blocks IDEs. (I also have Visual
C++ Express Edition 2005 installed, but that does not contribute to my
problem...) It seems that CDT uses the Cygwin compiler by default, because
a) it adds c:\cygwin\bin to the PATH environment in Project
Preferences->Build and b) when I attempt to run a program I get the error
message that the application could not be started because "cygwin1.dll"
could not be found (this message is also issued when I try to run a
program compiled in a cygwin shell from windows)
Now what I want to do is just change CDT's binary directory to one of the
MinGW directories, as programs compiled from the other IDEs using their
version of the MinGW GCC do not have these Problems... Maybe a solution
would be to unistall CDT and cygwin and then reinstall CDT, but I want to
keep my existing cygwin installation... I just have *not* found a setting
where you could adjust the compiler/linker/make binary directory - if one
exists, I would appreciate if someone could just tell me :-) Otherwise, is
there _any_ way to make CDT use another compiler with managed make
projects (as there is also make and everything in the MinGW directories)
Thanks in advance
Jens
|
|
|
Re: changing the compiler on CDT [message #164328 is a reply to message #164320] |
Thu, 23 February 2006 08:31  |
Eclipse User |
|
|
|
Originally posted by: e.egberts.tantec.de
> Now what I want to do is just change CDT's binary directory to one of
> the MinGW directories
CDT uses the system path to find the tools for compiling. You have to
add a path to your MinGW bin directory, e.g. "c:\MinGW\bin".
> Maybe a
> solution would be to unistall CDT and cygwin and then reinstall CDT
No, it's not made by Microsoft. ;o)
|
|
|
Powered by
FUDForum. Page generated in 1.13562 seconds