powerpc freebsd-spec.h - huh?

David O'Brien obrien@FreeBSD.org
Sun Nov 11 00:20:00 GMT 2001


On Tue, Nov 20, 2001 at 08:24:40PM -0800, H . J . Lu wrote:
> > > > config/rs6000/sysv4.h targets all PowerPC ELF targets.  Ie, gcc on
> > > > Solaris-PowerPC can target Linux-PowerPC.  Thus the specs for
> > > > Linux-PowerPC must be visible [for all values of default targets].
> > > > Same for FreeBSD.  FreeBSD's specs are in a central file, thus that
> > > > central file must be included.
> > > 
> > > Are you talking about the cross compiler here?
> > 
> > No.  Please read rs6000/sysv4.h, mcall-* in particular.
> 
> I think rs6000/sysv4.h is very misleading. It is more like elfos.h for
> rs6000. I don't know why it is done that way.

But now you do understand why consumers of rs6000/sysv4.h need to include
freebsd-spec.h, correct?
 
-- 
-- David  (obrien@FreeBSD.org)



More information about the Gcc mailing list