Help! About psp_ranlib!

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
goldfox_79
Posts: 2
Joined: Fri Oct 06, 2006 3:27 pm

Help! About psp_ranlib!

Post by goldfox_79 »

I tried to install psptoolchain as steps of Auri Rahimzadeh's book "Hacking the psp". But I met a error: CANNOT find psp-ranlib. What is that? I can't find useful information about this lib file from google.

Can anybody help me?

Thanks in advance.
laichung
Posts: 123
Joined: Fri May 06, 2005 2:02 pm

Re: Help! About psp_ranlib!

Post by laichung »

psp-ranlib is a program as a part of binutils. did you build binutils?
And what OS (linux/cygwin?) are you using? did you set the path of PSPSDK correctly?
goldfox_79 wrote:I tried to install psptoolchain as steps of Auri Rahimzadeh's book "Hacking the psp". But I met a error: CANNOT find psp-ranlib. What is that? I can't find useful information about this lib file from google.

Can anybody help me?

Thanks in advance.
goldfox_79
Posts: 2
Joined: Fri Oct 06, 2006 3:27 pm

Re: Help! About psp_ranlib!

Post by goldfox_79 »

laichung wrote:psp-ranlib is a program as a part of binutils. did you build binutils?
And what OS (linux/cygwin?) are you using? did you set the path of PSPSDK correctly?
goldfox_79 wrote:I tried to install psptoolchain as steps of Auri Rahimzadeh's book "Hacking the psp". But I met a error: CANNOT find psp-ranlib. What is that? I can't find useful information about this lib file from google.

Can anybody help me?

Thanks in advance.
My system is Linux and I installed the package with following steps (as described in the book, "Hacking the PSP"):

1. build & install binutils ---- OK

2. build & install gcc 4.0.1---- OK

3. install pspsdk headers ---- Here, I met the error. I search the system and can not find the psp_ranlib.

Anything wrong or I miss something?

Thanks
laichung
Posts: 123
Joined: Fri May 06, 2005 2:02 pm

Re: Help! About psp_ranlib!

Post by laichung »

did you use the lateset patch from svn.ps2dev.org? if your step 1 and 2 is correct , you should find a program called psp-ranlib at /usr/local/pspdev/bin . If you cannt find the folder /usr/local/pspdev, that's mean somethings wrong.

I didnt watch that guide. But I think you better download the lateset toolchain from PSPSDK forum. And follow the comments from the toolchain readme. Also you better ask you questions at PSPSDK forum, since your question is off-topic with this forum. You better take a look to "PSPSDK Support and Development" first.
FreePlay
Posts: 71
Joined: Wed Jan 04, 2006 6:53 pm
Location: Schenectady, New York, USA

Post by FreePlay »

My guess would be that the script is expecting the PSPDEV or PSPSDK environment variables to be set, and he doesn't have them set.
Post Reply