This is to build a 2.0 toolchain, to build a 3.0 toolchain, go here.
I just did a clean install of Ubuntu 9.04 RC after destroying Debian by adding an Ubuntu Source and updating everything (not good), so I’m about to build the toolchain again.
Since my blog is heading to iPhone/Pod development, I think this is a good start
I’ve been using this to build SBSettings toggles (will post a template and a tut later) and I’ve had no problems, but I haven’t tested it too much.
(BTW, I got the instructions from here and enhanced them a _little_ bit)
Building Toolchain
First thing you’ll want to do is go HERE, go to the Download sections, connect to the FTP as it says there.
Once there, go to “iPhone Toolchain VMWare Image/V3/” and download UpgradeToolchain2.tgz. Download it to your home (~/)
While it’s downloading, run this command to install the building tools:
1 | $ sudo apt-get install build-essential bison flex |
Now go to /usr and unpack the toolchain
1 2 | $ cd /usr $ sudo tar -xzvf ~/UpgradeToolChain2.tgz |
Now move to the toolchain directory and run the install script:
1 2 | $ cd toolchain2 $ sudo ./build_20.sh |
Now you need to add the gcc compiler to /usr/bin, the way I did it was to open two sudo windows and add a link:
1 | $ sudo nautilus |
That will open a nautilus window as root, do it twice. With one, go to /usr/toolchain2/pre/bin and with the other one go to /usr/bin. On the first one, right click arm-apple-darwin9-gcc and select “Make Link”, then copy that link to the second window, and remove the “Link to..” from the name.
Next you’ll need to make a link to /usr/toolchain2/sys/usr/include on /var, do the same as above.
And finally, a link to /usr/toolchain2/sys/System on /





