Skip to content

Instantly share code, notes, and snippets.

@mitsutaka
Created July 17, 2013 05:15
Show Gist options
  • Save mitsutaka/6017867 to your computer and use it in GitHub Desktop.
Save mitsutaka/6017867 to your computer and use it in GitHub Desktop.
Cross compile configuration for iOS 6.x on OSX 10.8
#!/bin/sh
TARGET_PLATFORM=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk
TARGET_BIN="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin"
TARGET_LD=$TARGET_BIN/ld
TARGET_LDFLAGS="-L$TARGET_PLATFORM/usr/lib/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment