PDA

View Full Version : xcode 3.2 gcc terminal


tham50
08-01-2009, 09:20 PM
hi,

everything i build in the terminal with xcode 3.2 under snow leo does not run under 10.5. i tried gcc 4.2 and 4.0. also different options like -arch i386 etc.
-isysroot as a CFLAG doesn't seem to work at all.

no matter what i do i always get:


dyld: unknown required load command 0x80000022
Trace/BPT trap


and it's the same no matter which app i try.

how can i get the apps built under 10.6 via terminal to run under 10.5?


any hints are welcome

MoC
08-19-2009, 05:27 AM
I think there might be some API change that we don't know about, I don't see any other reason :confused:

jcarcinogen
08-24-2009, 06:15 AM
If you want compatibility with leopard you need to use the 10.5 SDK in 10.6. If you use the terminal instead of xcode you need to use a compiler flag to let it know it needs the 10.5sdk.

tham50
09-12-2009, 06:13 AM
If you want compatibility with leopard you need to use the 10.5 SDK in 10.6. If you use the terminal instead of xcode you need to use a compiler flag to let it know it needs the 10.5sdk.

which is the -isysroot i used afaik