Just want to say thank you to Eric Albert for the coding, and Isaac
Wankerl for the site maintenance for making it so easy to move
PowerPlant programs from Metrowerks Codewarrior, to Xcode and Universal
Binaries.
If you go to the PowerPlant web page on
http://sourceforge.net/projects/open-powerplant
and use the anonymous CVS http://sourceforge.net/cvs/?group_id=156508 to
download the latest version, you get a PowerPlant that compiles for PPC
or Intel x86, and an example:
Constructor.
To get it to build with Xcode and the MacOSX10.4u.sdk, you'll need to
adjust the project to point to your copy of MoreFiles (included with
Codewarrior, downloadable from Apple.): Adjust some paths, and make sure
the type is source.c.c on the Get Info panel for those MoreFiles source
.c files.
The PPC version appears complete, from the few seconds of testing I gave
it. the Intel version runs, but doesn't appear to completely parse all
its data. Still, a very good, painless start at getting set up with
PowerPlant, Xcode, intel.
The project as it stands has in its build settings:
Architectures: ${NATIVE_ARCH}
Pressing the [Edit] button, then clicking the checkbox so that both are
on, gives you a Universal Binary.
Richard Buckle on http://www.sailmaker.co.uk/ubi_notes.html links to
Chris Espinosa's example of building a Universal Binary that will run
under 10.3 PPC (because the PPC side uses gcc 3.3.) while the Intel side
uses the MacOSX10.4u.sdk and gcc 4.0.
With all of their work, it looks like it will be a reasonable job to
move PowerPlant programs to Mac on Intel.
Isaac Wankerl - 14 Jun 2006 03:07 GMT
> Just want to say thank you to Eric Albert for the coding, and Isaac
> Wankerl for the site maintenance for making it so easy to move
[quoted text clipped - 8 lines]
> or Intel x86, and an example:
> Constructor.
Well, CVS for this project has been very problematic. The servers have
been down far too often. We are switching over to using subversion. As
of now, I think everything has been transferred. To get the latest code
you should type this into your command line:
svn co https://svn.sourceforge.net/svnroot/open-powerplant
open-powerplant
> To get it to build with Xcode and the MacOSX10.4u.sdk, you'll need to
> adjust the project to point to your copy of MoreFiles (included with
[quoted text clipped - 20 lines]
> With all of their work, it looks like it will be a reasonable job to
> move PowerPlant programs to Mac on Intel.

Signature
Isaac Wankerl
www.iwankerl.com
Oliver - 25 Jun 2006 16:58 GMT
> svn co https://svn.sourceforge.net/svnroot/open-powerplant
> open-powerplant
I think that should be:
svn co https://svn.sourceforge.net/svnroot/open-powerplant/trunk open-powerplant
Otherwise you'd checkout all branches and tags if there were any.
Oliver