On 9 Sep 2004 at 17:27, Adriaan van Os wrote:
Does GPC on other platforms predefine things like ?
__OS_DOS__ _WIN32 __sparc__ __CYGWIN32__ __CYGWIN__ __unix__ __EMX__
On relevant platforms, yes.
I am a bit puzzled. I had expected that gpc on powerpc-apple has the same predefines as gcc (see gcc/rs6000/config/darwin.h)
__APPLE__ __MACH__ __POWERPC__ __ppc__
But gpc doesn't, unless I missed something.
What is in your "specs" file? (AFAIU, that is where the predefines are). And, is your gpc using the same specs file as your gcc? If they are using the same specs file, then you should get similar predefines (or is your gpc just using the built-in specs?).
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/