Problem subdir configures get run again after toolchain built if make repeated.

Phil Edwards phil@jaj.com
Wed Dec 18 22:59:00 GMT 2002


I've just updated my GCC and src repos, and am seeing the same directories
constantly rebuilt that Graham is.  The others (binutils, libgui, tix,
etc) have been fixed.

> Ok, I see it.  It's another "real file depends on phony target" case.
> We have essentially this:
> 
> 	$(module)/multilib.out : maybe-all-gcc
> 		$(CC_FOR_TARGET) --print-multilibs > $(module)/multilib
> 
> We should probably depend on the actual compiler driver, or have some
> move-if-changed master copy of multilib.out and have the others depend
> on that instead.  Comments?

Having a single multilib.out file sounds like a nice idea.  We already share
compiler information amongst the target libs, in the form of config.cache.
Why not share more?


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



More information about the Gcc mailing list