Feature request: Compiler directives...

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

pls(Posted 2006) [#1]
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


Yan(Posted 2006) [#2]
I don't own a Mac, but a quick search on the MOD directory threw up...
?MacOsPPC
  Print "PPC"
?MacOsX86
  Print "Intel"
?



Robert Cummings(Posted 2006) [#3]
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.


pls(Posted 2006) [#4]
We really need better documentation...

PLS


Brucey(Posted 2006) [#5]
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.. :-)


Brucey(Posted 2006) [#6]
There's also

?bigendian

and

?littleendian

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