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 

Installing psptoolchain under cygwin

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
netddos



Joined: 17 Jun 2005
Posts: 9

PostPosted: Sat Jun 25, 2005 3:57 am    Post subject: Installing psptoolchain under cygwin Reply with quote

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:
## PSPDEV SETTINGS
    export PSPDEV="/usr/local/pspdev"
    export PSPSDK="$PSPDEV/pspsdk"
    export CVSROOT=":pserver:anonymous@cvs.ps2dev.org:/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.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Jun 25, 2005 4:02 am    Post subject: Reply with quote

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

Usually it's as simple as adding:

Code:
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.
Back to top
View user's profile Send private message
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Sat Jun 25, 2005 4:02 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Sat Jun 25, 2005 4:03 am    Post subject: Reply with quote

Beaten to the punch! :)
Back to top
View user's profile Send private message Send e-mail
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Jun 25, 2005 4:07 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
netddos



Joined: 17 Jun 2005
Posts: 9

PostPosted: Sat Jun 25, 2005 4:14 am    Post subject: Reply with quote

Will do. Thanks guys!
Back to top
View user's profile Send private message
theshadguy



Joined: 04 Nov 2004
Posts: 12

PostPosted: Sat Jun 25, 2005 5:17 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Sat Jun 25, 2005 5:36 am    Post subject: Reply with quote

theshadguy wrote:
but its been running for over 6 hours now


How many packages did you pick up? And are they downloading or installing?
Back to top
View user's profile Send private message AIM Address
theshadguy



Joined: 04 Nov 2004
Posts: 12

PostPosted: Sat Jun 25, 2005 5:48 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
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