This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] Fix mingw32 bootstrap regression.
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: 'Bob Rossi' <bob_rossi at cox dot net>, 'Carlos O'Donell' <carlos at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, 'Mark Mitchell' <mark at codesourcery dot com>
- Date: Sun, 24 Dec 2006 08:52:27 +1300
- Subject: RE: [PATCH] Fix mingw32 bootstrap regression.
> > O, I also got the silly Make error, where I need to change
> > ORIGINAL_LD_FOR_TARGET =
> >
> C:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/bin/ld.exe
> > to
> > ORIGINAL_LD_FOR_TARGET =
> > /mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/bin/ld.exe
> > Do you do this each time?
> >
I never need to do it. configure gives me:
ORIGINAL_AS_FOR_TARGET = /mingw/i686-pc-mingw32dw2/bin/as
ORIGINAL_LD_FOR_TARGET = /mingw/i686-pc-mingw32dw2/bin/ld
which get put into local as and ld shell scripts.
This error:
> > -o libgcc/./_chkstk.o
> > xgcc.exe: CreateProcess: No such file or directory
is probably because ORIGINAL_AS_FOR_TARGET is incorrect in your
configuration.
What sh.exe are you using? How is your build dir rooted (is it
binmode)?
Danny