This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix i386-mingw32 build failure
- From: Christopher Faylor <me at cgf dot cx>
- To: GCC Development <gcc at gcc dot gnu dot org>,GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 9 Aug 2005 11:37:45 -0400
- Subject: Re: [patch] Fix i386-mingw32 build failure
- References: <42F4A108.1050903@gmail.com> <42F85C3F.5040602@lu.unisi.ch>
On Tue, Aug 09, 2005 at 09:33:19AM +0200, Paolo Bonzini wrote:
>>Can someone with approval privilege over the build system look at this,
>>and OK it? (it's a very simple patch)
>
>I must apologize for the delay in handling this. This alternative patch
>avoids that mingw is hardcoded in the makefiles. FWIW, it is also even
>smaller,
>
> 3 files changed, 19 insertions(+), 12 deletions(-)
>
>vs.
>
> 1 files changed, 25 insertions(+), 10 deletions(-)
>
>:ADDPATCH build:
>
>I have only tested it on Linux, can you give it a try? Ok if FX's
>testing succeeds?
>
>2005-08-09 Paolo Bonzini <bonzini@gnu.org>
>
> * config.build (build_have_sh_scripts): Default to yes,
> set to no for mingw32.
> * configure.ac (build_have_sh_scripts): AC_SUBST it.
> * Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): If
> build_have_sh_scripts is false, rely on $(LN).
> * configure: Regenerate.
This would conflict with my proposed changes to pex-win32.c . It seems
like getting '#!' functioning on mingw would be a better solution than
relying on $(LN) on mingw.
I haven't gotten around to implementing this in libiberty because I've
been on vacation but I should have time to do this this week, if it is
still desirable.
cgf