I am trying to create a universal binary for a project at work, but I cannot properly configure Xcode for this.
I am familiar with the Apple Documentation regarding this, but apparently I am not reading it correctly.
Possible build options for Xcode:
- Architecture
- Base SDK
- C / C ++ Compiler Version
- Mac OS X Deployment Goal
In my settings, I have the following valid architectures: i386 ppc ppc64 ppc7400 ppc970 x86_64.
If I use the following options, I get binary with i386 and ppc970 :
- Architecture: i386 ppc
- Base SDK: Mac OS X 10.5
- C / C ++ Compiler Version: GCC 4.0
- Mac OS X: Mac OS X 10.5
:
- ppc970, ppc7400 ( ppc)?
- ppcs (ppc, ppc64, ppc7400, ppc970)?
- ppc?
-, ppc7400 Mac Mini, . Mini G4 OSX 10.5.8. , , ppc7400, ppc970.
, SDK 10.4u. , . , - #defines. , gcc 4.2, , stdarg.h - #include_next . SDK 4.0, #define FSIZE long long , , .
, .
. . .
:
GCC_VERSION = 4.0
MACOSX_DEPLOYMENT_TARGET = 10.4
SDKROOT = macosx10.5
GCC_MODEL_TUNING = G3
(.o), arch 'ppc', . "ppc", "ppc7400" ( , ). - "ppc970".
, , . - ppc?
, (Hello World) . , "ppc", "ppc970".
.