Re: [Dev-C++] MINGW 2.0.0-2 possible incompatibility with Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Luigi S. <gi...@li...> - 2002-09-08 08:16:48
|
At 23.17 09/06/02 +0300, <no...@ho...> wrote:
>I have the impression that the makefile mechanism has changed in MINGW
>2.0.0-2 making it incompatible with Dev-C++. So if you want to use MINGW
>from within Dev-C++ (and not from the command line for example) you
>probably have to wait for a next release of Dev-C++ which incorporates
>MINGW 2.0.0.. I hope Colin or Hongli can comment something on this (or
>someone who knows the GCC/MINGW makefiles stuff like Luigi).
>
>Ioannis
>
Hi Ioannis
Thanks for the link to latest MinGW package.
Hope gcc 3.2 is stable (unlike previous 3.1 version).
In order to see what was wrong, I've downloaded MinGW 2.0.0-2 (the whole
package) and version 4.9.5.0 of Dev-C++ (of course, just the IDE as I
wanted to use
it with gcc 3.2), next I installed both.
Excuse me if I sound a bit tedious writing down all the steps, this will
make it easy for you to trace my mistakes.
Here is what I did:
- installed MinGW in the directory "c:\mingw"
this means I clicked on the package, which is an executable, and chose
destination
- installed Dev-C++ in the directory "c:\devcpp"
again package is an executable so: click and choose destination
- started the new Dev-C++ and pointed it to the new MinGW compiler:
Tools->Compiler Options: "Directories" tab
Binaries = c:\mingw\bin
Libraries = c:\mingw\lib
C Includes = c:\mingw\include
C++ Includes = c:\mingw\include\c++ and c:\mingw\include
Then I tried to make the executable of a single source file program
(classic "Hello world") there was no problem.
When I attempted to make the executable of a multi source file program,
that is when I compiled a project, I experienced an error.
According to my little experience, what we are dealing with is a tiny bug
in the MinGW package. In fact the small documentation one is allowed to
read while installing MinGW (BTW, it is found in "c:\mingw\doc\MinGW", in
the form of RTF files), tells that the package contains a port of GNU
"make" 3.79, which has been renamed "mingw32-make.exe". Well, I checked the
directory "c:\mingw\bin" and was not able to see "mingw-make.exe" nor
"make.exe". I concluded that the file has been omitted when the package was
put together.
At this points it seems that: when Dev-C++ calls for "make" ... nobody
answers :)
My solution: I've copied old GNU "make" 3.77 (which I have got together
with my first Dev-C++ version) in the directory "c:\mingw\bin". Now
everything works.
Probably you'll want to tell MinGW developers that current version of their
package lacks the "make" utility.
--
gisan
|