This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Link tests after GCC_NO_EXECUTABLES
- From: Andreas Schwab <schwab at suse dot de>
- To: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Bernd Schmidt <bernds_cb1 at t-online dot de>, Jie Zhang <jzhang918 at gmail dot com>, gcc at gcc dot gnu dot org, GCC Patches <gcc-patches at gcc dot gnu dot org>, rsandifo at nildram dot co dot uk
- Date: Sat, 01 Dec 2007 14:37:38 +0100
- Subject: Re: Link tests after GCC_NO_EXECUTABLES
- References: <474C9CBD.2070708@codesourcery.com> <87fxyqdc45.fsf@firetop.home> <474D943C.4030106@codesourcery.com> <20071128210420.GH17368@sygehus.dk> <474DF7E4.6050308@codesourcery.com> <20071130181424.GO17368@sygehus.dk> <4750559E.2090800@codesourcery.com> <20071130211005.GQ17368@sygehus.dk> <87d4tqu4nv.fsf@firetop.home> <20071201115252.GS17368@sygehus.dk> <20071201120251.GT17368@sygehus.dk>
Rask Ingemann Lambertsen <rask@sygehus.dk> writes:
> On Sat, Dec 01, 2007 at 12:52:52PM +0100, Rask Ingemann Lambertsen wrote:
>>
>> I'll post a patch to implement the --cache-file trick just as soon as I
>> figure out why the $with_newlib variable is lost sometime before configuring
>> libgfortran, because it seems to basicly work apart from that. Then we can
>> decide for 4.3 or 4.4.
>
> Correction: $with_newlib seems to be completely unavailable in the toplevel
> Makefile(.tpl). Any ideas?
Only variables subject to AC_SUBST are available in the generated
Makefile. There is extra_host_args which includes --with-newlib, but
this is only passed to configure scripts in host directories (via
host_configargs), not target directories.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."