This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: config.cache question
- From: Nix <nix at esperi dot org dot uk>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: Christophe Jaillet <christophe dot jaillet at wanadoo dot fr>, gcc at gcc dot gnu dot org
- Date: Fri, 13 Jan 2006 22:48:50 +0000
- Subject: Re: config.cache question
- References: <dq6o96$ap6$1@sea.gmane.org> <20060112233902.GC15678@ozlabs.au.ibm.com>
On 13 Jan 2006, Ben Elliston uttered the following:
>> I apologize if this question has already been answered but I would
>> like to know if there is a way to reuse the same config.cache file
>> for all the builds of all the subdirectories of a bootstrap ?
>
> It should be possible, but the configure scripts do not update the
> config.cache file in a concurrency-safe fashion, so this would make
> parallel building impossible--something which is no doubt a bigger
> win.
Also, configure may give different answers when rerun on some
subdirectories with different compilers (particularly when multilibbing,
or for directories like libiberty which are configured both with the
bootstrap compiler and with others).
configure runs never take long compared to everything else building
GCC involves, anyway (well, except on Solaris boxes when you forget to
set SHELL appropriately!)
--
`I must caution that dipping fingers into molten lead
presents several serious dangers.' --- Jearl Walker