This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Successful GCC 4.1.1 i686-pc-mingw32 build+install


$ 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.)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]