Archive for July, 2007

Cell cross compiler for Mac OS X

Monday, July 30th, 2007

The cell architecture is really cool and you can even code for it at home using a consumer PlayStation 3. There is not a lot of memory on the PS3 for Linux and stuff – being able to compile on your OSX machine would be a lot cooler.

I made a Cell cross compiler last night. Here is how to do it:

First of all you need to download and install libgmp3 and libmpfr.

When configuring libgmp3 you need to do it like this:

./configure –host=none-apple-darwin

Then get the toolchain snapshot (or get it from svn) from ps2dev. I used ps3toolchain-20070626.tar.bz2 for this article. You need to fix two scripts in the depends folder:

check-libgmp3.sh and check-libmpfr.sh

Simply change /usr/include/ to /usr/local/include/

Run the toolchain script:

./toolchain.sh

That’s it! It should compile without problems.

Edit: You don’t need libgmp3 – newer versions of libgmp will also do.. Also the toolchain script requires wget. Compile it yourself or use MacPorts or something.

Japan 2007

Monday, July 9th, 2007

I finally got around to process all of my pictures and gps logs for my latest Japan trip. We visited Tokyo, Osaka, Himeji, Kyoto, Hiroshima and a small onsen resort up north called Ikaho – it was near Shibukawa station.

It was only 7 months since my first trip there but Japan was just as cool and fun as the first time!

japan2007