Feature request: Compiler directives...

Miscellaneous Forums/MacOS X Discussion/Feature request: Compiler directives...

A ?MacOSIntel and ?MacOSPPC is really needed if you maintain projects on a Mac... I keep to openssl compilations on different directories just to import the correct .a files.

Thanks,

PLS

I don't own a Mac, but a quick search on the MOD directory threw up...
?MacOsPPC
  Print "PPC"
?MacOsX86
  Print "Intel"
?


Nice. Can you elaborate on your findings with compiling for different mac cpus, for example if it was problematic and any thoughts you have on the subject?

I am sure many of us would value your opinions on it.

We really need better documentation...

PLS

Oh goodie... more things to remember...

So, anyone know what might be "defined" in c code/headers to separate the two?

I've been using __APPLE__ up til now for my modules.

Ho hum.. :-)

There's also

?bigendian

and

?littleendian

if you want PPC / Intel specifics other than for OS...