cctools-port/usage_examples/ios_toolchain
2014-12-28 17:48:45 +01:00
..
build.sh ios-toolchain: cleanup 2014-12-27 12:33:50 +01:00
LDID.Makefile add scripts / wrapper to build a simple ios toolchain 2014-12-27 11:47:02 +01:00
README ios-toolchain: take care of IPHONEOS_DEPLOYMENT_TARGET (env) 2014-12-28 17:48:45 +01:00
wrapper.c ios-toolchain: take care of IPHONEOS_DEPLOYMENT_TARGET (env) 2014-12-28 17:48:45 +01:00

PRE-REQUISITES:

See cctools/ld64 README + git + bash + a jailbroken iOS device

USAGE:

./build.sh /path/to/sdk.tar.* <target cpu>

Target CPU should be one of arm6, armv7, armv7s and arm64.

This will build an iOS toolchain prefixed with
arm-apple-darwin11-*

You can then use arm-apple-darwin11-clang / arm apple-darwin11-clang++
to build your applications.

---

IPHONEOS_DEPLOYMENT_TARGET can be used to target older iOS versions.

For example:

export IPHONEOS_DEPLOYMENT_TARGET=5.0

will target iOS 5.0.