1These instructions will cover how to build and install libkxld for the arm architecture. 2 3Until we can get Darwin built as a source distribution, you will need to rely on a copy of the iOS4.2 SDK to build libkxld. 4 5### FOR LINUX ### 6 7If you are on Linux, you will need to grab a copy of the iOS4.2 SDK and place it under the /opt/Developer/SDKs folder with the name 'iPhoneOS.sdk'. 8You will then need to add an info.ini file to the root of the iPhoneOS.sdk folder with the following configuration: 9 10[SDK] 11name = iPhoneOS 12version = 4.2.0 13toolchain = DarwinARM 14default_arch = armv7 15iphoneos_deployment_target = 4.2 16 17################# 18 19You may then run the following command to build and install libkxld: 20 21sudo make TARGET_CONFIGS="debug arm armpba8" \ 22 RC_ProjectName=libkxld \ 23 RC_CFLAGS="-arch armv7" \ 24 SDKROOT=`xcrun -sdk iPhoneOS.sdk --show-sdk-path` \ 25 DSTROOT=/path/to/ramdiskfs 26 27NOTE: be sure to replace the DSTROOT path with one pointing to the target filesystem's root! 28