forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing PS2SDK on OSX (tutorial)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
AntonioDaSilva



Joined: 16 Nov 2005
Posts: 2

PostPosted: Wed Nov 16, 2005 9:30 pm    Post subject: Installing PS2SDK on OSX (tutorial) Reply with quote

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/install-first.php

Get root access...

Code:
# su


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. ;-)

Code:
# fink -y install svn-client wget


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...

Code:
# cd ps2toolchain


And finaly...install!

Code:
# ./toolchain.sh


There's one thing left.
Add:

Code:
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"


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!

Code:
# pico .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...

Code:

# 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!


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...?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group