Howto build devkitARM on Mac OS X 10.4 (Tiger)

support for the ARM toolchain
Post Reply
cynnical
Posts: 2
Joined: Tue Jul 15, 2008 9:24 pm

Howto build devkitARM on Mac OS X 10.4 (Tiger)

Post by cynnical » Tue Jul 15, 2008 9:40 pm

devkitARM release 23b is compiled on OS X 10.5 (Leopard) and most likely will not work on OS X 10.4 (Tiger) because it has been linked against different libraries (libiconv, libSystem.B).

Here's a summary on how to build it yourself:

My system
OS X 10.4.10
gcc version 4.0.1 (Apple Computer, Inc. build 5367) (The version that comes on your install CD)
Target: i686-apple-darwin8

Building

FreeImage 3.10.0 (http://freeimage.sourceforge.net/download.html)
wget http://downloads.sourceforge.net/freeimage/FreeImage3100.zip
unzip FreeImage3100.zip
cd FreeImage
make
sudo make install

GMP 4.2.2 (http://gmplib.org/#DOWNLOAD)
wget http://ftp.sunet.se/pub/gnu/gmp/gmp-4.2.2.tar.bz2
tar jxf gmp-4.2.2.tar.bz2
cd gmp-4.2.2
./configure --build=none-apple-darwin --disable-shared --enable-static --prefix=/usr/local
make
sudo make install

MPFR 2.3.1 (http://www.mpfr.org/mpfr-current/#download)
wget http://www.mpfr.org/mpfr-current/mpfr-2.3.1.tar.bz2
tar jxf mpfr-2.3.1.tar.bz2
cd mpfr-2.3.1
./configure --disable-shared --enable-static --prefix=/usr/local
make
sudo make install

Buildscripts (devkitPro source)
Get it from http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124206&release_id=609056

rm -rf /opt/devkitpro
tar jxf buildscripts-20080624.tar.bz2
cd buildscripts
mv config.sh config.sh.old
sudo ./buildscripts.sh

Choose devkitARM and say you want to download source packages
Enter install directory as: /opt/devkitpro

devkitARM will be installed in /opt/devkitpro if all went well. Make sure you moved anything important out've the directory before rm -rf'ing it.

I think that's all - I typed this from memory - took about 25 min to build everything on my Intel macbook.

Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests