This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Successful Build: gcc-4.1-20051230 i686-pc-mingw32
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: regedit85 at gmx dot net, gcc at gcc dot gnu dot org, bonzini at gnu dot org
- Date: Wed, 8 Mar 2006 10:36:06 +0100
- Subject: Re: Successful Build: gcc-4.1-20051230 i686-pc-mingw32
[sorry for breaking the thread, stupid gmail interface doesn't allow
adding custom headers]
> i tried to compile gcc 4.1.0 (the final release) on windows, too. I'm using
> msys and configured the buildprocess with "--enable-threads=win32
> --with-win32-nlsapi=unicode". On the msys console i type "make" and after a
> while i get the error with the Makefile on line 1277. I make the fix and
> continue, then I get the error "*** No rule to make target
> `/mingw/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/bin/ld.exe',
> needed by `stamp-collect-ld'. Stop." in the folder gcc.
This is a known bug (PR bootstrap/24382,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24382). You need to
specify a path for ld by configuring with:
${srcdir}/configure --with-ld=/path/to/ld
As an example, I usually build gcc/gfortran with:
../gcc/configure --prefix=/mingw --enable-languages=c,fortran
--with-gmp=$HOME/local --disable-nls --with-ld=/mingw/bin/ld
--with-as=/mingw/bin/as --disable-werror --enable-bootstrap
I don't know of any attempt to fix this bug, maybe Paolo made some
progress since his comment in the PR :)
I scanned the host/target specific installation notes on gcc.gnu.org,
but found to my surprise that there is no mention of i386-mingw32
there. I guess something this could be noted there.
FX