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 

finally got cygwin installed.how do i run the toolchain ??

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



Joined: 26 Jun 2005
Posts: 27

PostPosted: Thu Jul 07, 2005 5:33 am    Post subject: finally got cygwin installed.how do i run the toolchain ?? Reply with quote

hi, i downloaded cygwin without installing and then am installing it from a local dir. it started of great and when it got to /etc/postinstall/update-info-dir.sh it has been there at 98% and hasn`t moved for about 30 minutes. i canceled it and reinstalled without the post install and now it is installed with the shortcut. now i can`t figure out how to run the toolchain.sh script to install it.i have a bunch of tuts here but can`t figure it out. it says ## make the script executable. chmod a+x ./toolchain.sh do i type that in the cygwin window and enter? please give me a break i`m new at this and want to learn how to dev. my own apps and programs. thanks for all the help
Back to top
View user's profile Send private message
etx



Joined: 02 Apr 2005
Posts: 33
Location: Detroit

PostPosted: Thu Jul 07, 2005 7:14 am    Post subject: Re: finally got cygwin installed.how do i run the toolchain Reply with quote

Blackwidow wrote:
hi, i downloaded cygwin without installing and then am installing it from a local dir. it started of great and when it got to /etc/postinstall/update-info-dir.sh it has been there at 98% and hasn`t moved for about 30 minutes. i canceled it and reinstalled without the post install and now it is installed with the shortcut. now i can`t figure out how to run the toolchain.sh script to install it.i have a bunch of tuts here but can`t figure it out. it says ## make the script executable. chmod a+x ./toolchain.sh do i type that in the cygwin window and enter? please give me a break i`m new at this and want to learn how to dev. my own apps and programs. thanks for all the help


toolchain.sh is a script that builds the toolchain for you. Unarchive the package from oopo's site (tar zxvf toolchain.tgz or whatever) and then run ./toolchain.sh It will build the toolchain for you. Make sure you have wget installed, type 'wget' at the bash prompt and it will display an error if you don't.
Back to top
View user's profile Send private message AIM Address
Blackwidow



Joined: 26 Jun 2005
Posts: 27

PostPosted: Thu Jul 07, 2005 7:27 am    Post subject: Reply with quote

i typed wget and this is what is says: wget: wget missing URL
usage: wget [option]...URL...
try 'wget --help' for more options
Back to top
View user's profile Send private message
Agoln



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

PostPosted: Thu Jul 07, 2005 7:29 am    Post subject: Reply with quote

Blackwidow wrote:
i typed wget and this is what is says: wget: wget missing URL
usage: wget [option]...URL...
try 'wget --help' for more options

that means you have it.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
Blackwidow



Joined: 26 Jun 2005
Posts: 27

PostPosted: Fri Jul 08, 2005 3:59 am    Post subject: Reply with quote

could someone please explain how to add the path to my enviroment variables and how to change my login settings. i got to the point where it installed and compiled the toolchain. after that i tried psp-gcc -v and it said command not found. i still haven`t installed the sdk yet. thanx
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Fri Jul 08, 2005 4:06 am    Post subject: Reply with quote

you need to install wget,


_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
Blackwidow



Joined: 26 Jun 2005
Posts: 27

PostPosted: Fri Jul 08, 2005 4:47 am    Post subject: Reply with quote

i already have wget. and it downloaded and installed all the toolchain files. i just need to know how to set the enviroment variables and change the login settings. thanx
Back to top
View user's profile Send private message
Sirwhizz



Joined: 08 Jun 2005
Posts: 16
Location: Melbourne, FL

PostPosted: Fri Jul 08, 2005 5:53 am    Post subject: Reply with quote

Depending on what Version of Windows you are running their are different ways. Win98 and before just run the start.bat and change the pths inside to where you installed the pspsdk. For me it was c:\cygwin\usr\local\pspdev
It might be the same for you.
My start.bat looks like this
set path=%path%;c:\cygwin\usr\local\pspdev\bin
set PSPSDK=C:\cygwin\usr\psp\sdk

If you are using Win2000/XP, right click on my computer, click on properties, click on advanced tab, click on Enviroment Variables,
click new, variable name type
Code:
path

value type
Code:
c:\cygwin\usr\local\pspdev\bin

click new, variable name type
Code:
PSPSDK

value type
Code:
c:\cygwin\usr\psp\sdk


If anyone else adds anything or if I am a bit wrong just correct me. Those are my settings and it works great for me. You will probably have a little difference in yours or it might be totally the same. Since all I did was install from the cygwin screen.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
wulf



Joined: 13 Apr 2005
Posts: 81

PostPosted: Fri Jul 08, 2005 6:01 am    Post subject: Reply with quote

you can also edit the .bashrc in the /home/yourloginname directory in cygwin...
that way all you have to do is copy & paste the "export ..." lines from the readme without having to edit them... that's what I did for my windows machine...
Back to top
View user's profile Send private message
Blackwidow



Joined: 26 Jun 2005
Posts: 27

PostPosted: Fri Jul 08, 2005 6:55 am    Post subject: Reply with quote

ok how do i edit the .bashrc? also when i ran cygwin from a tut it downloaded the pspsdk to cygwin\usr\local\bin and the toolchain to cygwin\home\rod\psphome\psptoolchain. and when i tried ./configure after i cd into usr/local/bin it says checking pspsdk version....1.0beta, checking for pspdev...psp-gcc: command not found, configure error: cant find the pspdev toolchain.use--with-pspdev or set PSPDEV. they didn`t have any paths in the enviromental variables so i added I:\cygwin\local\usr\bin and I:\cygwin\usr\pspsdk. i think i added the wrong paths. could someone look at this and tell me what the paths should be and what i`m doing wrong. i have like 5 diff. tuts here and it`s a little confusing. thanks for the help
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