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

Joined: 24 Jan 2006 Posts: 38
|
Posted: Thu Jan 26, 2006 10:31 pm Post subject: Setting up PSPSDK, probably problem with paths. |
|
|
I have set up the toolchain under Linux.
Since I have 2.50 PSP, I have tried to first check the homebrew dev kit by Fanjita and compile the Tetris program for use with GTA.
I get the following errors :
| Quote: | make: psp-config: Command not found
/bin/psp-gcc -I /include -O2 -W -Wall -G0 -fno-pic -mno-abicalls -w -S main.c -o main.s
make: /bin/psp-gcc: Command not found
make: *** [all] Error 127
|
So apparently there is something wrong with paths. But I have set the paths with the following commands :
| Quote: | set path=/usr/local/pspdev/bin
set PSPSDK=/usr/local/pspdev
|
I am afraight that I am just asking a very lame question, but what do I do wrong? What step did I miss setting PSPSDK up?
Sorry for the trouble and thank you for any suggestions. |
|
| Back to top |
|
 |
charliex
Joined: 26 Jan 2006 Posts: 16
|
Posted: Fri Jan 27, 2006 6:03 am Post subject: |
|
|
after you do the set , type set on its own and see if the path is correct, depending on the shell you may neeed to use export instead of set.
presumably its the right location ?
if you do
/usr/local/pspdev/bin/psp-gcc
does it work ?
what about
which psp-gcc
if the later works then the path is ok and its the PSPSDK var thats not getting through, which shell are you using. |
|
| Back to top |
|
 |
Barts_706

Joined: 24 Jan 2006 Posts: 38
|
Posted: Fri Jan 27, 2006 11:32 am Post subject: |
|
|
My shell is bash (distribution : Ubuntu).
I will check the things you suggested when I get back home from work and post the results.
I think that /usr/local/pspdev/bin/psp-gcc should work, since pspsdk has been correctly installed and it is in that directory. Same goes for which, but I'll check it to be sure and show the results. |
|
| Back to top |
|
 |
Barts_706

Joined: 24 Jan 2006 Posts: 38
|
Posted: Sat Jan 28, 2006 9:56 am Post subject: |
|
|
/usr/local/pspdev/bin/psp-gcc works as predicted.
The problem is with 'set' command - when I type set, I can see that no paths were added! Tried doing it via sudo - nothing, nada, nul, rien, nic.
As I mentioned before - shell is bash under Ubuntu. Anyone has any suggestions?
-=======[ EDIT : It is okay now. ]===========-
Disregard the above questions. Indeed the export command works, so after a few trial-and-errors (no man page for that command) my environment is set. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Jan 28, 2006 2:35 pm Post subject: |
|
|
| For extra fun, put the lines into your /etc/profile file and it'll be ready to go every time you open a window. |
|
| Back to top |
|
 |
Barts_706

Joined: 24 Jan 2006 Posts: 38
|
Posted: Sun Jan 29, 2006 12:00 am Post subject: |
|
|
Okay, thank ooPo, I was just asking myself a question how to set it up for good, since after reboot the path was gone.
Anyhow, I didn't have the time to experiment more today, but after setting up the path I managed to compile Fanjita's Tetris! I know it is nothing compared to what you guys do here, but it is my second step on the way to my own homebrew (first being installing PSPSDK), so I am damn happy about it. I have bought GTA today, and tomorrow morning I will put Tetris in the savegame directory and we'll see what happens...
[ As far as I know there is no way of bricking my PSP with that Tetris thing? ] |
|
| Back to top |
|
 |
|