Installing PS2SDK on OSX (tutorial)
Posted: Wed Nov 16, 2005 9:30 pm
I had some problem with installing PS2SDK on OSX, but, i've found this little tutorial on how to install PSPSDK on OSX and it helped me alot! =)
http://forums.ps2dev.org/viewtopic.php?t=2792
But this is how i did...
---------------------------------------
I'm using OSX 10.4.3
Install the xCode package that's on the installation CD!
Download and install Fink.
http://fink.sourceforge.net/doc/bundled ... -first.php
Get root access...
Install wget...and svn client. I'm not sure if cvn-client is needed, but i installed it anyway, and, i'm installed SDL too...good to have stuff. ;-)
Download ps2toolchain from http://www.oopo.net/consoledev/ and unpack.
CD into the new dir. If you've unpacked the file into the / dir, then the command is...
And finaly...install!
There's one thing left.
Add:
into the .profile. For some reason i can't find the home directory, but it's the directory you start in when you open a new terminal. So...get root acces and edit .profile!
Restart terminal and everything is ready! )(
The SDK should be in /usr/local/ps2dev/ps2sdk. There's some samples in /usr/local/ps2dev/ps2sdk/samples. Let's try them and check so everything's working.
Start ps2link on the ps2 and do this...
Hope it works for you too. =D
Edit: I've found that there was a toolchain part on this forum...maybe this post should be a sticky post on that forum...?
http://forums.ps2dev.org/viewtopic.php?t=2792
But this is how i did...
---------------------------------------
I'm using OSX 10.4.3
Install the xCode package that's on the installation CD!
Download and install Fink.
http://fink.sourceforge.net/doc/bundled ... -first.php
Get root access...
Code: Select all
# su
Code: Select all
# fink -y install svn-client wget
CD into the new dir. If you've unpacked the file into the / dir, then the command is...
Code: Select all
# cd ps2toolchain
Code: Select all
# ./toolchain.sh
Add:
Code: Select all
export PS2DEV="/usr/local/ps2dev"
export PS2SDK="$PS2DEV/ps2sdk"
export PATH="$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin"
Code: Select all
# pico .profile
The SDK should be in /usr/local/ps2dev/ps2sdk. There's some samples in /usr/local/ps2dev/ps2sdk/samples. Let's try them and check so everything's working.
Start ps2link on the ps2 and do this...
Code: Select all
# su //we need root access to compile
# cd /usr/local/ps2dev/ps2sdk/samples/teapot //cd into the teapot dir
# make //compile...
# ps2client -h 192.168.0.10 execee host:teapot.elf //..and upload!
Edit: I've found that there was a toolchain part on this forum...maybe this post should be a sticky post on that forum...?