Configuring a native mingw32 compiler without specifying --with-ld leads to the
following in $(build)/gcc/Makefile:

ORIGINAL_LD_FOR_TARGET =
./c:/mingw/bin/../lib/gcc/mingw32/3.4.4/../../../../mingw32/bin/ld.exe

which make doesn't interpret correctly in the stamp-collect-ld rule, leading to
this error:

Makefile:1277: *** target pattern contains no `%'.  Stop.

This happened with a compiler simply configured with
../gcc/configure --prefix=/mingw --enable-languages=c,fortran


-- 
           Summary: ORIGINAL_LD_FOR_TARGET has bizarre value
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24382

Reply via email to