This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Link tests after GCC_NO_EXECUTABLES
- From: Richard Sandiford <rsandifo at nildram dot co dot uk>
- 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>
- Date: Sat, 01 Dec 2007 09:48:20 +0000
- Subject: Re: Link tests after GCC_NO_EXECUTABLES
- References: <474C98AA.50105@t-online.de> <474C9A65.2060902@codesourcery.com> <474C9B33.8060503@t-online.de> <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>
Rask Ingemann Lambertsen <rask@sygehus.dk> writes:
> On Fri, Nov 30, 2007 at 10:25:34AM -0800, Mark Mitchell wrote:
>> Rask Ingemann Lambertsen wrote:
>>
>> >>> I have a feeling it would be more robust to simulate the link tests
>> >>> inside the autoconf/libtool macros themselves as opposed to explicitly
>> >>> avoiding them in each and every configure.{ac,in}. Supply an option
>> >>> --simulate-link-tests=file_with_results with the default being no and be
>> >>> happy.
>
>> The advantage to the current setup is that you get a
>> loud failure, and have to go actually work out the right answer.
>
> That's the --cache-file option, except for clobbering the file. I'll see
> if I can arrange for the toplevel Makefile to copy a pre-made config.cache
> into target library build directories just before running configure. That
> ought to deal with all AC_FUNC(S) macros. That leaves just symbol versioning
> and AC_LIBTOOL_DLOPEN, which is manageble.
I've lost track of whether we're still talking about what to do for 4.3,
or whether we're talking about future directions. So: are we considering
this for 4.3, or for 4.4+?
Richard