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 

HOWTO: Compile the SDK on OSX - Consolidated Info
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue Sep 04, 2007 3:49 pm    Post subject: Reply with quote

StrmnNrmn has posted a guide on his blog

here it is

Quote:

To install the PSPSDK I largely followed this guide (http://forums.ps2dev.org/viewtopic.php?t=5391) on the ps2dev.org forums. I already had XCode and fink installed. Fink complained when I tried to install all the listed packages, and I had to remove one of them from the command line (I think it was autogen, but I can't really remember now.)

I've been using the most recent psptoolchain script, which was updated a few weeks ago, and I had to make a couple of modifications. In depends/check-ncurses.sh I had to change the check for ncurses to look for the OSX .dyliib file:



## Check for a ncurses library.ls /usr/lib/libncurses.a 1> /dev/null || ls /usr/lib/libncurses.dll.a || { echo "ERROR: Install ncurses before continuing."; exit 1; }

became:


## Check for a ncurses library.ls /usr/lib/libncurses.a 1> /dev/null || ls /usr/lib/libncurses.dll.a || ls /usr/lib/libncurses.dylib || { echo "ERROR: Install ncurses before continuing."; exit 1; }

Secondly I had to make this change to scripts/001-binutils-2.16.1.sh. As urchin mentions on the ps2dev.org forum, ".m" is the extension for Objective C files in OSX. The '-r' tells make to ignore the built-in implicit rules, and everything works fine:

So:


## Compile and install.make clean && make -j 2 && make install && make clean || { exit 1; }

became:


## Compile and install.make clean && make -r -j 2 && make install && make clean || { exit 1; }

(note the '-r' flag on the second invocation of make.)

I left the psptoolchain script doing its stuff for a couple of hours, and when I came back to it everything seemed to have completed and installed correctly.


Hope this helps
Back to top
View user's profile Send private message AIM Address
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Mon Feb 23, 2009 5:20 am    Post subject: Reply with quote

does it also work on leopard??
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Mon Feb 23, 2009 8:28 am    Post subject: Reply with quote

should do. Although there's other libraries that you need.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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