This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Should we scrap -MG?
Geoff Keating <geoffk@geoffk.org> writes:
|> > Date: Sun, 4 Mar 2001 22:35:17 +0000
|> > From: Neil Booth <neil@daikokuya.demon.co.uk>
|> > Cc: gcc@gcc.gnu.org
|> > Content-Disposition: inline
|> > User-Agent: Mutt/1.3.15i
|> >
|> > Geoff Keating wrote:-
|> >
|> > > It's intended for use when some header files are generated. make
|> > > won't know what header files to generate unless there's some way to
|> > > list the header files that don't exist but are required.
|> > >
|> > > The third problem you list is dealt with by re-running dependencies
|> > > after the header is generated, typically by making the dependency part
|> > > of the makefile depend on the missing header.
|> > >
|> > > The second problem is dealt with by putting all generated headers in
|> > > the same place.
|> >
|> > Thanks for the explanation, Geoff. Out of interest, what packages use
|> > this functionality?
|>
|> I belive glibc uses it, particularly when building for the Hurd.
I cannot find any reference to -MG in the current glibc sources. If it
was ever used then it has been already removed.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5