$ config.guess
i686-pc-mingw32

> gcc -v
Using built-in specs.
Target: i686-pc-mingw32
Configured with: ../gcc-4.1.2/configure --prefix=/mingw --enable-threads --disab
le-nls --enable-languages=c,c++ --disable-win32-registry
Thread model: win32
gcc version 4.1.2

$ uname -a
MINGW32_NT-5.1 <machine name snipped> 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown

Build command line:
make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" LDFLAGS=-s bootstrap 2>errlog.txt

Host system:
Win XP SP2, MinGW GCC 3.4.5, mSYS 1.0.10

With MinGW/GCC 3.4.5 as the host, ORIGINAL_LD_FOR_TARGET was incorrectly set in gcc/Makefile; once changed, the build was successful. (This error also occurs when building GCC 4.1.1 with MinGW/GCC 3.4.5.) Using GCC 4.1.1 as the host, this error does not occur.

Reply via email to