This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc freebsd-spec.h - huh?
- From: "H . J . Lu" <hjl at lucon dot org>
- To: David O'Brien <obrien at FreeBSD dot org>
- Cc: David Edelsohn <dje at watson dot ibm dot com>,Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 20 Nov 2001 19:38:02 -0800
- Subject: Re: powerpc freebsd-spec.h - huh?
- References: <obrien@FreeBSD.org> <200111210317.WAA14704@makai.watson.ibm.com> <20011120192027.A36508@dragon.nuxi.com>
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?
H.J.