xcode 3.2 gcc terminal
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…
- Primary Author
- @tham50 Published 2009-08-01
- Collection
- Hardware, Systems & Dev
- Archival Footprint
- 6,227 historical reads · 2 curated field notes (from 4 dispatches) · 2009-08-01 – 2009-09-12
- Credited Voices (3)
- @tham50 (2)@MoC@jcarcinogen
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
Author Updates & Technical Revisions
Follow-up dispatches by @tham50
@jcarcinogenIf 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
Synthesized Community Field Notes
2 technical responses curated from 4 original dispatches
I think there might be some API change that we don't know about, I don't see any other reason :
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.
Sources & Contributor Provenance (3 credited usernames · Thread #3519)
| Username | Dossier Contribution | Dispatches | Active Window |
|---|---|---|---|
| @tham50 | Primary Author | 2 | 2009-08-01 → 2009-09-12 |
| @MoC | Contributor | 1 | 2009-08-19 |
| @jcarcinogen | Contributor | 1 | 2009-08-24 |