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 

Mac OS X ToolChain (Intel variation)

 
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: Wed Aug 30, 2006 11:26 am    Post subject: Mac OS X ToolChain (Intel variation) Reply with quote

hi everyone,

I have compiled the PSP toolchain to be used, i wish to share it with you other mac users who are having trouble with it

1) follow steps 1 - 4 on http://forums.ps2dev.org/viewtopic.php?t=5391

2) Download the DMG from
www.dosgames.com/~wally4000/PSPDEVtoolchain.dmg
and mount to desktop

3) Click the desktop and press Apple - shift - G and type /usr/local/pspdev

4) Extract contents of dmg to /usr/local/pspdev

THIS WILL NOT WORK ON LINUX OR WINDOWS as its specifically for Intel Macs. (iMac, Macbook, Macbook Pro, MacPro)

Enjoy!
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Wed Aug 30, 2006 11:27 pm    Post subject: Reply with quote

Thanks dude! Is this quicker then the other way? And is this using th newest toolchain?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Aug 31, 2006 9:23 am    Post subject: Reply with quote

Latest toolchain (as of 2 days ago)

Yes its much quicker
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Thu Aug 31, 2006 11:28 am    Post subject: Reply with quote

I installed it :), thanks... I did have a problem with step four (of the other tut), so I don't know if it will compile right... How do you compile on mac anyways? like on windows? point to the project folder then put make?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Aug 31, 2006 12:02 pm    Post subject: Reply with quote

compiling is done the same way,this just takes a load of time off.


Follow the other tutorial to compile the entire source (takes about 1 hour on an intel mac with 2.0ghz and 1gb ram)
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Thu Aug 31, 2006 1:37 pm    Post subject: Reply with quote

no I mean compile my code...?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Aug 31, 2006 2:42 pm    Post subject: Reply with quote

nah you dont have to, just type make or ./configure (if you declared the variables properly) it should work
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Thu Aug 31, 2006 3:10 pm    Post subject: Reply with quote

Ah, ok. Thanks!
Back to top
View user's profile Send private message
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Tue Sep 05, 2006 2:40 am    Post subject: Reply with quote

How would I install the SDL and pspgl libraries? I tried the svn commands you would use in cygwin, but that doesn't work...
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue Sep 05, 2006 9:37 am    Post subject: Reply with quote

Install SVN (Download the source from subversion.tigus.org (i think))

type ./configure
after process type make
then sudo make install and your password

then try
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Tue Sep 05, 2006 11:08 am    Post subject: Reply with quote

sry, I'm still confused... How do I install svn? I know nothing about svn... I down;oad it i run the .pkg then it says its installed then i tey typine //configure in terminal and it gets an error...
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue Sep 05, 2006 8:33 pm    Post subject: Reply with quote

oh dont worry about that


Its installed

Just type svn co svn://svn.pspdev.org/psp/trunk/SDL and it should start downloading
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Wed Sep 06, 2006 8:02 am    Post subject: Reply with quote

still doesn't work.... this is my error
Quote:
-bash: svn: command not found
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Sep 06, 2006 8:48 am    Post subject: Reply with quote

http://metissian.com/projects/macosx/subversion/ <-- i hope you got it from here
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Wed Sep 06, 2006 9:18 am    Post subject: Reply with quote

I believe I had the sam app, just I didn't dl it from there... Let me try downloading that and installing t again.
Back to top
View user's profile Send private message
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Wed Sep 06, 2006 9:20 am    Post subject: Reply with quote

Hmmm, still not working... I am suppose type this svn co svn://svn.pspdev.org/psp/trunk/SDL into terminal, right?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Sep 06, 2006 11:21 am    Post subject: Reply with quote

yep..

I think you might need to move the svn program from usr/local/bin to /usr/bin

typing

cd /usr/local/bin
sudo cp svn /usr/bin

should do it
Back to top
View user's profile Send private message AIM Address
bronxbomber92



Joined: 21 Jul 2006
Posts: 36

PostPosted: Wed Sep 06, 2006 11:59 am    Post subject: Reply with quote

it worked :d Thanks...

Do you know if you need to do these steps when installing it after you dl it?c
Quote:
- go to newly created pspgl directory, by typing "cd pspgl" (allways without quote)
- then type "make"
- and finaly type "make install"
?
And when I try them anyways I get this error
Quote:
make: psp-config: Command not found
make: psp-config: Command not found
mkdir .deps
psp-gcc -std=gnu99 -g -Wall -Wmissing-prototypes -Os -G0 -fsingle-precision-constant -I. -I /include -I /include -funit-at-a-time -MD -MF .deps/eglBindTexImage.d -c eglBindTexImage.c
make: psp-gcc: Command not found
make: *** [eglBindTexImage.o] Error 127
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Sep 06, 2006 1:31 pm    Post subject: Reply with quote

ah you have to set up your system variables as mentioned on the other docuument

To save you frustration


3. Set Environment Variables
Open a Terminal, and type the following commands
Code:

cd ~/
vim .bash_profile


Once inside vim, type the following lines, then press escape, colon (: ) and then type wq (write and quit) followed by enter. It is very important to not miss any quotation marks below.

NOTE: You can do this in another editor, but make sure to save the filename correctly. For example, using TextEdit will save the file as .bash_profile.rtf instead of .bash_profile

Code:

export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="/sw/bin:$PATH:$PSPPATH"

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