iPhone Development: Leopard-Compatible Binary Toolchain Installer

If you’re aiming to develop software for the iPhone and iPod touch using Leopard, you have a couple of options available. One is to obtain the most recent toolchain svn from Google Code, or alternatively, you can opt for an older toolchain installer that is compatible with Leopard.

Recently, Nicholas “Drudge” Penree directed me to a version of Elliot Kroo’s outdated 0.04 toolchain installer. This particular installer harks back to the days of arm-apple-darwin-cc, prior to the introduction of the improved gcc version.

Despite its age, it remains a viable option.

Upon downloading, I executed the installer from the mounted disk image and launched the “ooh shiny” program. To successfully run this, I installed the iPhone disk at /usr/local/arm-apple-darwin/heavenly. There are several ways to acquire a copy of the 1.1.1 disk, including decrypting Apple’s install dmg.

If you’re uncertain how to proceed, a quick online search should provide the necessary guidance.

Given the age of this installation, I needed to modify my .arm-cc-specs and fuss with them until they aligned with my system’s configuration.

Subsequently, I retrieved my old libarmfp.dylib file and placed it in various locations until I managed to get some existing projects to compile. I believe the final resting places for the file were /usr/local/arm-apple-darwin/heavenly/usr/lib/ and /usr/local/local.toolchain/heavenly/usr/lib, though you might need to explore your own system to find where it best fits, likely alongside the functioning gcc_s_v6.1 library.

This setup allowed me to continue using a legacy—but functional—toolchain on Leopard. While I plan to install and configure the newer toolchain eventually, this setup provides some welcome leeway in the meantime.

Share This Article

Elizabeth is a dedicated writer for TUAW, bringing a wealth of knowledge and enthusiasm to the Apple news community. With a keen eye for detail, Elizabeth covers everything from the latest iPhone releases to in-depth reviews of the MacBook Pro and Apple Watch. Her insightful articles help readers stay informed about the ever-evolving world of Apple products. When she’s not writing, Elizabeth enjoys exploring new features on her iPad and capturing moments with her iPhone’s camera.