On 24-Aug-08, at 3:24 PM, Christian Biere wrote: > You can peek at such definitions like this: > echo | gcc -E -g3 - > > I guess your system defined __ppc__ and it should be semantically > equivalent to __powerpc__, except for endianness maybe but that > doesn't matter here.
Both __ppc__ and __POWERPC__ [all caps] are defined by my system. Not, however, __powerpc__ [no caps]. From a 2004 gcc patch at <http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00501.html >, it seems that gcc and BEOS originally used different token styles. > defined (_ARCH_PWR) /* AIX */ > defined (_ARCH_COM) /* AIX */ > defined (__powerpc__) /* gcc */ > defined (__POWERPC__) /* BEOS */ > defined (__ppc__) /* Darwin */ > defined (PPC) /* GNU/Linux, SysV */ >> For myself, I just threw in >>> #define __powerppc__ >> right before the IEEE 754 check, and everything worked fine. > > That's not recommendable. I had not thought this thing for a moment. - Matt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel