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]
Other format: [Raw text]

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
freebsd-spec.h, correct?
 
-- 
-- David  (obrien@FreeBSD.org)


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