Installing psptoolchain under cygwin

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

Moderators: cheriff, TyRaNiD

Post Reply
netddos
Posts: 9
Joined: Fri Jun 17, 2005 4:03 pm

Installing psptoolchain under cygwin

Post by netddos »

I've downloaded all the sources I need by running the script with ./toolchain.sh

I'm now stuck on the next direction.

It says to add the following to my login setting...

Code: Select all

## PSPDEV SETTINGS
    export PSPDEV="/usr/local/pspdev"
    export PSPSDK="$PSPDEV/pspsdk"
    export CVSROOT=":pserver:[email protected]:/home/pspcvs"
    export PATH="$PATH:$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
Where am I suppose to add these lines to? Remember I'm running this under cygwin environment, not the naive linux.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

You will only need to add /usr/local/pspdev/bin to your PATH.

Usually it's as simple as adding:

Code: Select all

PATH=/usr/local/pspdev/bin:$PATH
export PATH
To the file called .bash_profile in your home directory (which is possibly C:\cygwin\home\pimpdaddy or whatever you set it up as).

You can also set the PATH envrionment variable in the System control panel.
TommyBear
Posts: 50
Joined: Fri Jun 24, 2005 11:21 pm

Post by TommyBear »

Add those to your .bash_profile file e.g.:

if you install cygwin to c:\cygwin and your NT user is called bob look in:

c:\cygwin\home\bob\

Tommy.
TommyBear
Posts: 50
Joined: Fri Jun 24, 2005 11:21 pm

Post by TommyBear »

Beaten to the punch! :)
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Note that the rest of those variables (and technically $PSPDEV) are obsolete. There isn't a pspcvs any more and all pspsdk binaries will go into the bin/ directory wherever the pspdev tools are installed.

So just adding /usr/local/pspdev/bin to the PATH will be enough.
netddos
Posts: 9
Joined: Fri Jun 17, 2005 4:03 pm

Post by netddos »

Will do. Thanks guys!
theshadguy
Posts: 12
Joined: Thu Nov 04, 2004 8:08 am

Post by theshadguy »

on another note, I'm currently setting up the psp toolchain in cygwin as well, and I know the readme said it was going to take a long time, but its been running for over 6 hours now. Mind you, it is progressing, its just soooo long haha. oh well

btw my machine is 933mHz, so that could be it, kinda old
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

theshadguy wrote: but its been running for over 6 hours now
How many packages did you pick up? And are they downloading or installing?
theshadguy
Posts: 12
Joined: Thu Nov 04, 2004 8:08 am

Post by theshadguy »

I dont know how many packages. I installed all the packages when I installed cygwin, but that was a month ago or so.

All I did was follow the instructions in the readme, and it did a few downloads when I started the script, and has since been going through what looks like a config/make -ish routine

:S
Post Reply