Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: subdir/toplevel dependence (was Re: (toplevel)...)
@ 2002-12-30  7:46 Nathanael Nerode
  2003-01-09 20:44 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Nathanael Nerode @ 2002-12-30  7:46 UTC (permalink / raw)
  To: aoliva; +Cc: gcc-patches, binutils, gdb-patches

Alex said:
>The solution I see is to arrange for configure to remove sub-Makefiles
>if it is run without --no-recursion (i.e., no_recursion != yes).
>Then, the check for sub-Makefile in the configure-* targets will take
>care of reconfiguring.  How does this sound?

Sounds good to me.  Should work.

--Nathanael


^ permalink raw reply	[flat|nested] 4+ messages in thread
* subdir/toplevel dependence (was Re: (toplevel)...)
@ 2002-12-30  2:42 Nathanael Nerode
  2002-12-30  6:25 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Nathanael Nerode @ 2002-12-30  2:42 UTC (permalink / raw)
  To: gcc-patches, aoliva; +Cc: gdb-patches, binutils

Alex said:
>- I've also removed the dependence of configure-* on ./config.status.
>  I don't understand why we put this in.  I get the impression it was
>  a mistake, since the earlier top-level (say in the gcc-3.3 branch)
>  does not get any sub-packages reconfigured just because the top
>  level config.status changes.  If we really want to do this, we
>  should arrange for the code that updates config.status in the
>  top-level to also remove the Makefiles of all subdirs, so that
>  they're reconfigured next.

I put this in because there's a real dependence here. :-(

The correct dependence, technically, is that configure-* depends on top 
level Makefile, which depends on config.status.

The point is, if you rerun top level 'configure' with different 
arguments, creating a new Makefile which will pass down different 
arguments, it's essential to rerun configure at the lower levels with 
the new arguments as well.  

Implement this however you please, but it needs to be there. :-)

--Nathanael


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-09 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-30  7:46 subdir/toplevel dependence (was Re: (toplevel)...) Nathanael Nerode
2003-01-09 20:44 ` Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2002-12-30  2:42 Nathanael Nerode
2002-12-30  6:25 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox