Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] builder and MinGW

Hi John,
 
I went through this a few weeks ago.  Actually the help is your friend in this case.  It tells you exactly which packages you need to install and *where* (i.e. c:\mingw, which is probably your issue).
 
C/C++ Development User Guide > Before You Begin
 
But I agree, there should at least be an error explaining why the tool-chain is unsupported, and better yet, an obvious way to reconfigure the path.
 
-- Ed


From: John Cortell [mailto:rat042@xxxxxxxxxxxxx]
Sent: Tuesday, March 02, 2010 1:25 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] builder and MinGW

I'm trying to use CDT with MinGW for the first time and am having some trouble. I wonder if I'm doing something wrong or this is just indicative of a bad out-of-the box experience for our MinGW users. The problems I'm experiencing are with a C project I created using the wizard, having chosen MinGW as the toolchain.

For starters, mingw's make is called mingw32-make. When I build the project, the builder assumes 'make' is available. So, I hit that wall right out of the gate. I can get passed this by renaming the mingw make program to 'make'. Are we expecting users to take this manual step?

Now the project builds but I get these warnings in the console

****  WARNING: The "Debug" Configuration may not build  ****
****  because it uses the "Cygwin GCC"  ****
****  tool-chain that is unsupported on this system.  ****

The used tools (as showing in the Tool Chain Editor properties page) are:

GCC Assembler
GCC Archiver
GCC C++ Compiler
GCC C Compiler
MinGW C Linker
MinGW C++ Linker

Note that I have not tweaked the wizard generated project. Also, I get the same behavior whether I use Gnu Make Builder or CDT Internal Builder.

Can someone enlighten me as to what I'm doing wrong or why our MinGW support is quirky?

John

Back to the top