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 07:38:02PM -0800, H . J . Lu wrote:
> On Tue, Nov 20, 2001 at 07:20:27PM -0800, David O'Brien wrote:
> > On Tue, Nov 20, 2001 at 10:17:14PM -0500, David Edelsohn wrote:
> > > David> config/rs6000/sysv4.h includes support for all ELF targets. Thus all ELF
> > > David> targets must include config/freebsd-spec.h to get the FreeBSD specs.
> > > Why do configurations other than powerpc*-*-freebsd* need the
> > > FreeBSD specs? I don't see this done for any other architecture.
> > 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.
-- David (obrien@FreeBSD.org)