powerpc freebsd-spec.h - huh?
David O'Brien
obrien@FreeBSD.org
Sat Nov 10 19:58:00 GMT 2001
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.
--
-- David (obrien@FreeBSD.org)
More information about the Gcc
mailing list