Filed under: iPod Family, iPhone
iPhone Coding: Build your Leopard toolchain from scratch

Why settle for out-of-date toolchains when you can build the latest and greatest from scratch. Nicholas "Drudge" Penree put together this handy how-to that walks you through the process.
Be aware that you'll need to be running the gold master version of Leopard with the latest XCode release. These instructions do not work on the prerelease developer builds.
For more information and for peer support, head on over to irc.osx86.hu to the #iphone-dev and #iphone-uikit channels.


Reader Comments (Page 1 of 1)
iGO said 3:55PM on 10-31-2007
What is a toolchain and why would I need it? Just not sure how to proceed to add this to my iPhone.
Thanks in advance for you help.
Reply
Frank said 4:09PM on 10-31-2007
iGo. If you don't know what a tool chain is, you don't need one. It is a term that refers to the compilers, libraries, and other peices of software required to compile code and build applications for the iPhone itself. If you wanted to create your own program to load on your iPhone, you'd need some sort of tool chain.
Reply
Fritz Laurel said 8:20PM on 10-31-2007
Just out of curiosity, where did the name "tool chain" come from? Why not dub thee with the standard "SDK" label? Or is that reserved for the next year's actual, real-life SDK?
Cheers,
FL
Reply
wrayal said 11:08PM on 10-31-2007
Just to note - I had to run chmod a+x ../../llvm-gcc-4.0-iphone/configure and remove certain '\' symbols (representing line feeds I imagine) even in unbroken lines.
Wrayal
Reply
Kevin said 7:21AM on 11-04-2007
Erica, have you actually gotten this to work? On the iphone-dev wiki, Leopard is listed under "Supported but currently does not build."
Reply
jj said 6:39PM on 11-07-2007
BTW for those not lucky enough to get to use a Mac on a day-to-day basis, it is also possible to build this on Linux. I have it running on Centos and Ubuntu. Headers from xCode and the decrypted filesystem are needed.
Reply
Merlin_1102 said 12:29AM on 11-08-2007
It looks like it takes care of the does not build issues with:
export INCPRIVEXT="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
Here its using the Tiger SDK as opposed to Leopard.
Reply