cctools-port/usage_examples/ios_toolchain
2015-06-23 19:31:00 +02:00
..
build.sh ios-toolchain: remove 'CC=cc' - just causes troubles 2015-06-23 19:31:00 +02:00
LDID.Makefile add scripts / wrapper to build a simple ios toolchain 2014-12-27 11:47:02 +01:00
README * linux ppc/ppc64 & arm/arm64/aarch64 port 2015-03-15 22:21:16 +01:00
wrapper.c ios-toolchain: set COMPILER_PATH 2015-03-18 21:29:06 +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 armv6, 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.