Successful GCC 4.1.1 i686-pc-mingw32 build+install

JohnE - TDM tdragon@tdragon.net
Sat Sep 2 20:56:00 GMT 2006


$ config.guess
i686-pc-mingw32

F:\Compilers\MinGW\bin>gcc -v
Using built-in specs.
Target: i686-pc-mingw32
Configured with: ../gcc-4.1.1/configure --prefix=/mingw --disable-shared 
--enable-threads --enable-languages=c,c++ --disable-win32-registry 
--disable-nls
Thread model: win32
gcc version 4.1.1


I built using this command line:
make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads 
-fno-omit-frame-pointer -O2" LDFLAGS=-s bootstrap

I used MinGW32's GCC 3.4.5 distribution and mSYS 1.0, plus assorted tools.

The build process encountered ONE fatal error:
In <objdir>/gcc/Makefile:1277, ORIGINAL_LD_FOR_TARGET was incorrectly 
set as "./f:/Compilers/MinGW/bin/ld.exe". The build was successful after 
I changed it to "/f/Compilers/MinGW/bin/ld", following the pattern of 
ORIGINAL_AS_FOR_TARGET which was correctly set. (MinGW is installed in 
/f/Compilers/MinGW for my system; others might see something like 
/c/MinGW or /mingw.)



More information about the Gcc mailing list