egcs 1.0.3a Linux x86->ppc cross does not define __linux__

Matt Porter porter@neta.com
Wed Sep 2 17:50:00 GMT 1998


I have an issue in that my Linux x86->ppc cross compiler does not have
-D__linux__ in the specs when I target powerpc-unknown-linux or
ppc-linux-elf.  Seems like egcs must only set that if a native Linux
compiler is built.  Is this the case, or have I incorrectly built it?

Thanks,

Matt Porter
porter@neta.com




More information about the Gcc mailing list