1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
Building DynCall for apple's iOS platforms (iPod touch, iPhone, iPad)
=====================================================================
Environment Setup for Cross-Compilation using iPhone SDK:
$ source ./buildsys/scripts/setenv-sdk-ios.sh
Package Configuration
$ ./configure --target=iOS --sdk=<MAJOR>.<MINOR>
Tested SDK Versions
2.0 .. 4.0 , 6.1
Building
$ make
Details:
Useful configure switches:
--target=[iOS|iPhoneSimulator]
--sdk=<version> (tested versions 2.0..4.0, 6.1)
Supported Tool-chains
gcc and llvm-gcc
Building with Makefile.embedded ..
ARMv7 for iOS 6.1
$ make -f Makefile.embedded ios61-os
$ cd test && make -f Makefile.embedded ios61-os
ARMv7 (no thumb) for iOS 6.1
$ make -f Makefile.embedded ios61-os-nothumb
$ cd test && make -f Makefile.embedded ios61-os-nothumb
Simulator for iOS 6.1
$ make -f Makefile.embedded ios61-sim
$ cd test && make -f Makefile.embedded ios61-sim
Tested Mac OS X platforms: 10.[7,8]
Tested Xcode toolchains: 4.6
Building with Makefile.generic ..
$ source buildsys/scripts/setenv-sdk-ios.sh
$ source buildsys/scripts/setenv-cross-ios.sh
make -f Makefile.generic ...
uses armv6 and sdk 3.2 as default, can be changed in 'setenv-cross-ios.sh'.
|