Digital Nerd

Monday, June 27, 2005

OS X For The Xbox

Via Forevergeek:
If you are wondering what to do with your Xbox after the 360 is released.
Assuming that the Xbox 360 is backward compatible, why not just install OS X on it? Here are the steps you need to take to install PearPC and OS X on your Xbox.


You have software modded your Xbox and put Xebian Linux on it. You have purchased a copy of Mac OS X and made an image of it.

Download the source code for PearPC at http://prdownloads.sourceforge.net/pearpc/pearpc-0.3.1.tar.gz. As of this writing, 0.3.1 is the most recent version.

Use tar to decompress the file with tar -xzvf pearpc-0.3.1.tar.gz. A directory called pearpc-0.3.1 will be created.

Go into this directory configure PearPC by running the configuration script as ./configure -enable-ui=x11 && --enable-cpu=generic. Even though the Xbox is an x86 processor, compiling with -enable-cpu=jitc_x86 will likely result in a failed compile. To explain, as of this writing, Xebian includes gcc 3.2 and gcc 2.95.4. PearPC will exhibit odd errors when compiled with any gcc between 2.95 and 3.3, so gcc 2.95.4 must be used. Unfortunately, gcc 2.95.4 does not work with the inline assembly used in PearPC when the jitx_x86 option is specified.


Type make && make install. If all goes well then /usr/local/bin on your computer should now contain a file called ppc. This file is the compiled binary.

0 Comments:

Post a Comment

<< Home