On Tue, 23 Aug 2016, Tom Tromey wrote:

> >>>>> "Pedro" == Pedro Alves <pal...@redhat.com> writes:
> 
> >> ISTM we ought to try and rectify the dependency situation for the build
> >> bits.  The haphazard way we've managed dependencies may have made sense
> >> in 1992, but doesn't today...
> >> Jeff
> 
> Pedro> I can't imagine how would anyone disagree.  :-)  Maybe Tromey had
> Pedro> some follow up patches (or ideas).  Adding him now.
> 
> It's been a while.  I think there were two major projects remaining.
> 
> 
> One project is to make the build files use the same dependency tracking
> scheme.
> 
> One tricky bit here is that you have to arrange to check the
> dependency-tracking scheme for the host compiler.  I think the currently
> proposed patch will fail if the build compiler requires one scheme while
> the host compiler requires another.

Ah that's a fairly serious oversight.  Thanks for pointing it out!
Addressing this is going to complicate the patch a bit.

> 
> 
> The other project is to clean up the t-* and x-* config files to remove
> explicit dependencies.
> 
> Once that's done it should be possible to remove a bunch of unnecessary
> Makefile variables.  Once upon a time I wrote a script to find these:
> 
>     https://gcc.gnu.org/ml/gcc-patches/2013-07/msg01206.html
> 
> 
> I don't have any patches other than the ones I sent.  At some point in
> the distant past I converted the config files, but I don't have that
> work any more.  It's in the history somewhere since IIRC it was checked
> in and then backed out.
> 
> Tom
> 

Reply via email to