This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Should we scrap -MG?


> 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.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]