This is the mail archive of the
mailing list for the GCC project.
Re: powerpc freebsd-spec.h - huh?
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
-- David (obrien@FreeBSD.org)