| View previous topic :: View next topic |
| Author |
Message |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Wed Aug 30, 2006 11:26 am Post subject: Mac OS X ToolChain (Intel variation) |
|
|
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 |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Wed Aug 30, 2006 11:27 pm Post subject: |
|
|
| Thanks dude! Is this quicker then the other way? And is this using th newest toolchain? |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Aug 31, 2006 9:23 am Post subject: |
|
|
Latest toolchain (as of 2 days ago)
Yes its much quicker |
|
| Back to top |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Thu Aug 31, 2006 11:28 am Post subject: |
|
|
| 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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Aug 31, 2006 12:02 pm Post subject: |
|
|
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 |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Thu Aug 31, 2006 1:37 pm Post subject: |
|
|
| no I mean compile my code...? |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Aug 31, 2006 2:42 pm Post subject: |
|
|
| nah you dont have to, just type make or ./configure (if you declared the variables properly) it should work |
|
| Back to top |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Thu Aug 31, 2006 3:10 pm Post subject: |
|
|
| Ah, ok. Thanks! |
|
| Back to top |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Tue Sep 05, 2006 2:40 am Post subject: |
|
|
| 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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Tue Sep 05, 2006 9:37 am Post subject: |
|
|
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 |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Tue Sep 05, 2006 11:08 am Post subject: |
|
|
| 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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
|
| Back to top |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Wed Sep 06, 2006 8:02 am Post subject: |
|
|
still doesn't work.... this is my error | Quote: | | -bash: svn: command not found |
|
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
|
| Back to top |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Wed Sep 06, 2006 9:18 am Post subject: |
|
|
| 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 |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Wed Sep 06, 2006 11:21 am Post subject: |
|
|
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 |
|
 |
bronxbomber92
Joined: 21 Jul 2006 Posts: 36
|
Posted: Wed Sep 06, 2006 11:59 am Post subject: |
|
|
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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Wed Sep 06, 2006 1:31 pm Post subject: |
|
|
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 |
|
 |
|