Mac OS X Dependencies
In order to get the orxonox dependencies to build properly on the mac, some tricks are needed. This page will contain some or more important tidbits for compiling various dependencies on the mac.
For a list of all possible configure flags, run ../configure —help.
The following are common ones:
Configure Flag | Description
|
--enable-universal_binary | Gives you a universal binary running on ppc and i386 OS X variants.
|
--with-macosx-version-min | For specifing the minimal supported OS X version, eg. —with-macosx-version-min=10.4.
|
--with-macosx-sdk | For specifing which SDK you want to build against, the maximum system whose API you want to benefit from, ie it can run on newer systems, but newer APIs would not be used, eg —with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk.
|
--enable-debug | Build the library with debug support (recommended for development phase of your product)
|
--disable-shared | Builds static libraries. (note: Linking your own applications against dynamic libraries is quicker than against static ones.)(note 2 : do not combine with monolithic)
|
Compiler Flags
Compiler and Linker Flag | Description
|
-arch | Set both the CFLAGS and the LDFLAGS variable to the desired architecture, i.e. i386, ppc, ppc64, x86_64
|