Tyro/Mac-compatibility-build.md

27 lines
873 B
Markdown
Raw Permalink Normal View History

# Building On OSX for maximum compatibility
## Install Older Platform SDKs
Use [this script](http://devernay.free.fr/hacks/xcodelegacy/) to install older SDKs.
## Additional configure flags for compiling wxWidgets
### Building on 10.8 or newer
* --with-macosx-version-min=10.7
* --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
### Building on 10.7
* --with-macosx-version-min=10.7
* --with-macosx-sdk=/Developer/SDKs/MacOSX10.7.sdk
## Recommended flags for development/debugging (Assuming OS X > 10.7)
* --enable-debug
* --enable-debug_gdb
* --enable-profile
* --disable-compat28
* --disable-shared
2015-05-14 14:59:04 -04:00
* --without-liblzma
* --without-webviewwebkit
* --with-macosx-version-min=10.7
* --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk