This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for cross-compiles in odd cases
- To: Marc dot Espie at liafa dot jussieu dot fr
- Subject: Re: Fix for cross-compiles in odd cases
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 26 Oct 1999 02:39:16 -0600
- cc: egcs-patches at egcs dot cygnus dot com, mickey at cvs dot openbsd dot org
- Reply-To: law at cygnus dot com
In message <19990918013824.A24325@schutzenberger.liafa.jussieu.fr>you write:
> This was prompted by Michael Shalayeff, who had trouble building
> an i386 to hppa cross compiler, because of problems with ranlib.
>
> Seems like the AR_FOR_TARGET and RANLIB_FOR_TARGET macros won't
> work correctly in some conditions, namely
> - for a cross-compiler,
> - when binutils objects don't happen to be in the right directory
> relative to gcc.
>
> I believe that it's simply a case of mixed up
> program_transform_name vs. program_transform_cross_name.
>
> Sat Sep 18 01:37:01 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
>
> * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
> substitution.
Thanks. Installed.
jeff