Skip to content
weex edited this page Sep 14, 2010 · 7 revisions

If you are having a particularly difficult time compiling the toolchain (or are getting bad errors while trying to use it), Google’s Android project has a prebuilt toolchain for ARM EABI that can be used to compile openiboot. It is provided for both Linux and Darwin (Mac OS X) on x86. As described by Jay Freeman (saurik), who had success with this:

1. Obtain the Android binary arm-eabi build of gcc 4.2.1. This can be done by doing any of:

2. Add the folder arm-eabi-4.2.1/bin to your path (as in prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin or …/darwin-x86/…).

3. Use CROSS_COMPILE=arm-eabi- with make (example: PLATFORM=3G make CROSS_COMPILE=arm-eabi-).