Slim Down for Summer with That's Fit

iPhone Coding: Leopard-compatible Binary Toolchain Installer

Looking to compile software for the iPhone and iPod touch under Leopard? There are two approaches: You can download the latest toolchain svn from Google Code or you can use a legacy toolchain installer that just happens to work under Leopard.

Last night, Nicholas "Drudge" Penree pointed me towards a copy of Elliot Kroo's legacy 0.04 toolchain installer. This installer dates back to the "bad old days" of arm-apple-darwin-cc, before the better gcc version appeared. On the other hand, a working solution is a working solution so I'm not complaining.

After downloading, I mounted the disk image, ran the installer and then the "ooh shiny" program. To make this work, I had to install a copy of the iPhone disk as /usr/local/arm-apple-darwin/heavenly. There are various methods for getting a copy of your 1.1.1 disk floating around the net up to and including decrypting the install dmg from Apple. Google for details if you're unsure how to do this.

Next, since this is a VERY legacy install, I had to edit my .arm-cc-specs and fuss with them until they matched my system.

Finally, I grabbed a copy of my old libarmfp.dylib file and put everywhere I could think of until I got some existing projects to compile. I believe my final places to put it were /usr/local/arm-apple-darwin/heavenly/usr/lib/ and /usr/local/local.toolchain/heavenly/usr/lib but you'll have to hunt around on your own system to see where it fits. You'll be looking to put it in the same folder that has the working gcc_s_v6.1 library.

After this, I ended up with a working--albeit legacy--toolchain running under Leopard. I'll download and compile the new toolchain at some point but this gives me some much-appreciated breathing space before I need to do that.

Reader Comments (Page 1 of 1)

TUAW Features

back-to-school
Mac 101 ask-tuaw
Mac News
WWDC (251)
.Mac (66)
Accessories (654)
Airport (75)
Analysis / Opinion (1430)
Apple (1701)
Apple Corporate (583)
Apple Financial (200)
Apple History (53)
Apple Professional (54)
Apple TV (164)
Audio (452)
Bad Apple (132)
Beta Beat (155)
Blogging (87)
Bluetooth (20)
Bugs/Recalls (57)
Cult of Mac (879)
Deals (226)
Desktops (116)
Developer (282)
Education (112)
eMac (10)
Enterprise (148)
Features (415)
Freeware (401)
Gaming (403)
Graphic Design (40)
Hardware (1313)
Holidays (37)
Humor (591)
iBook (66)
iLife (240)
iMac (185)
Internet (341)
Internet Tools (1347)
iTS (985)
iTunes (825)
iWork (23)
Leopard (376)
Mac mini (112)
Mac Pro (54)
MacBook (207)
MacBook Air (83)
Macbook Pro (226)
MobileMe (47)
Multimedia (461)
Odds and ends (1498)
Open Source (283)
OS (943)
Peripherals (214)
Podcasting (183)
Podcasts (95)
Portables (198)
PowerBook (136)
PowerMac G5 (51)
Retail (615)
Retro Mac (50)
Rig of the Week (42)
Rumors (648)
Software (4483)
Software Update (429)
Steve Jobs (255)
Stocking Stuffers (50)
Surveys and Polls (98)
Switchers (115)
The Woz (35)
TUAW Business (257)
Universal Binary (281)
UNIX / BSD (61)
Video (909)
Weekend Review (84)
WIN Business (47)
Wireless (89)
Xserve (39)
iPhone/iPod News
iPhone (1814)
iPod Family (2133)
App Store (170)
SDK (30)
Mac Events
One More Thing (28)
Liveblog (2)
Other Events (228)
Macworld (489)
Mac Learning
AppleScript (4)
Ask TUAW (108)
Blogs (85)
Books (26)
Books and Blogs (62)
Cool tools (453)
Hacks (473)
How-tos (491)
Interviews (44)
Mods (191)
Productivity (592)
Reviews (114)
Security (167)
Terminal Tips (71)
Tips and tricks (577)
Troubleshooting (175)
TUAW Features
iPhone 101 (36)
TUAW Labs (4)
Blast From the Past (19)
TUAW Tips (151)
Flickr Find (39)
Found Footage (90)
Mac 101 (114)
TUAW Interview (31)
Widget Watch (198)
The Daily Best (1)
TUAW Faceoff (7)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Sponsored Links

The Unofficial Apple Weblog (TUAW) bloggers (30 days)

#BloggerPostsCmts
1Cory Bohon521
2Robert Palmer5037
3Steven Sande4913
4Dave Caolo330
5Mike Schramm280
6Erica Sadun251
7Michael Rose1921
8Giles Turnbull170
9Mat Lu148
10Christina Warren1326
11Brett Terpstra110
12TUAW Blogger70
13Victor Agreda, Jr.613
14Lisa Hoover32
15Joshua Ellis20
16Jason Clarke10

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Apple Vanity Plates
DiscPainter
Crash Bandicoot Nitro Kart 3D
Macworld Expo 2007 show floor
Apple Texas Hold 'Em
The Macworld Faithful in Line

 

    Most Commented On (7 days)

    Recent Comments

    More Apple Analysis

    More from AOL Money and Finance

    Other Weblogs Inc. Network blogs you might be interested in: