This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building a cross libf2c
- To: richard dot earnshaw at arm dot com
- Subject: Re: building a cross libf2c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 27 Jun 1998 23:06:44 -0600
- cc: egcs at cygnus dot com, burley at gnu dot org
- Reply-To: law at cygnus dot com
In message <199806261302.OAA27990@sun52.NIS.cambridge>you write:
> The following patch (or something like it) is needed to allow
> cross-building of libf2c to succeed, since the "libraries" subdir doesn't
> exist for a cross build.
>
> <date> Richard Earnshaw (rearnsha@arm.com)
>
> * Makefile.in (BASE_FLAGS_TO_PASS): Pass TARGET_SUBDIR to submakes.
>
> * libf2c/Makefile.in (TARGET_SUBDIR): Provide default definition.
> (FLAGS_TO_PASS): Use TARGET_SUBDIR in definition of G2C_H_DIR.
I ended up fixing this problem as part of nuking "libraries" and using
${target_alias} for native builds.
jeff