devkitPPC r14 installer for Mac OS X, please test
Posted: Thu Mar 20, 2008 9:39 am
I've been working on an installer package for devkitPPC on OS X; I'd appreciate it if anyone with a Mac could test it and give me some feedback.
It's available here:
http://s3.amazonaws.com/bushing/devkitP ... versal.dmg
It features:
* Universal binaries for 10.4+
* Xcode templates for Wii and GC
* Automagically sets up $DEVKITPRO / $DEVKITPPC
Roughly speaking, my steps in creating it were:
* Find two machines running 10.4 (ppc and i386)
* Built the toolchain separately on each
* Throw away everything from the PPC side that isn't an executable (or library)
* Merge the binaries together with lipo. (I tried a couple of scripts to do this and ended up just doing it by hand to make sure it went correctly)
* Install everything into /opt/devkitpro on my system
* Copy one of the system Xcode templates into "/Library/Application\ Support/Developer/Shared/Xcode/Project\ Templates/devkitPro/devkitPPC Wii Project/"
* Gut that example, replace it with the Wii template, add the Makefile to Xcode as an external build target, tweak slightly until working
* Write a little postflight script to handle the environment magic:
* Fire up PackageMaker.app, tell it to package everything up, tweak here and there
* Build package, convert to disk image
It should work on any 10.4 or 10.5 system, but I've only tested it on 10.5 with Xcode 3. Any feedback would be appreciated!
It's available here:
http://s3.amazonaws.com/bushing/devkitP ... versal.dmg
It features:
* Universal binaries for 10.4+
* Xcode templates for Wii and GC
* Automagically sets up $DEVKITPRO / $DEVKITPPC
Roughly speaking, my steps in creating it were:
* Find two machines running 10.4 (ppc and i386)
* Built the toolchain separately on each
* Throw away everything from the PPC side that isn't an executable (or library)
* Merge the binaries together with lipo. (I tried a couple of scripts to do this and ended up just doing it by hand to make sure it went correctly)
* Install everything into /opt/devkitpro on my system
* Copy one of the system Xcode templates into "/Library/Application\ Support/Developer/Shared/Xcode/Project\ Templates/devkitPro/devkitPPC Wii Project/"
* Gut that example, replace it with the Wii template, add the Makefile to Xcode as an external build target, tweak slightly until working
* Write a little postflight script to handle the environment magic:
Code: Select all
#!/usr/bin/perl
$devkitppc = $ARGV[1];
$devkitpro = $devkitppc;
$devkitpro =~ s/\/devkitPPC//;
system "defaults write ~/.MacOSX/environment DEVKITPPC '$devkitppc'";
system "defaults write ~/.MacOSX/environment DEVKITPRO '$devkitpro'";
exit 0;
* Build package, convert to disk image
It should work on any 10.4 or 10.5 system, but I've only tested it on 10.5 with Xcode 3. Any feedback would be appreciated!