This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: (toplevel patch) Fix multilib.out dependencies and related problems.
- From: DJ Delorie <dj at redhat dot com>
- To: neroden at twcny dot rr dot com
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patches at sources dot redhat dot com, binutils at sources dot redhat dot com
- Date: Thu, 19 Dec 2002 19:16:21 -0500
- Subject: Re: (toplevel patch) Fix multilib.out dependencies and related problems.
- References: <20021220000447.GA18896@doctormoo>
> Removed xgcc and ran 'make'; gcc rebuilt it, and target libs were
> reconfigured and built.
That shouldn't happen. Use move-if-change to update one common
multilib.out, so that if the list of multilibs doesn't change,
*nothing* gets reconfigured or rebuilt. We want to trigger a *check*
when gcc changes, but only actually *reconfigure* if needed.
I'm wondering if the common multilib.out target should depend on the
all-gcc phony target; we kinda want it to run every time we check the
gcc subdir, because we don't know if something else besides xgcc
affects the specs (which affects multilib.out). We can get away with
this if we use move-if-change.