| View previous topic :: View next topic |
| Author |
Message |
Blackwidow
Joined: 26 Jun 2005 Posts: 27
|
Posted: Thu Jul 07, 2005 5:33 am Post subject: finally got cygwin installed.how do i run the toolchain ?? |
|
|
| 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 |
|
 |
etx
Joined: 02 Apr 2005 Posts: 33 Location: Detroit
|
Posted: Thu Jul 07, 2005 7:14 am Post subject: Re: finally got cygwin installed.how do i run the toolchain |
|
|
| 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 |
|
 |
Blackwidow
Joined: 26 Jun 2005 Posts: 27
|
Posted: Thu Jul 07, 2005 7:27 am Post subject: |
|
|
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 |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Thu Jul 07, 2005 7:29 am Post subject: |
|
|
| 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 |
|
 |
Blackwidow
Joined: 26 Jun 2005 Posts: 27
|
Posted: Fri Jul 08, 2005 3:59 am Post subject: |
|
|
| 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 |
|
 |
Thanhda

Joined: 09 Apr 2005 Posts: 331 Location: Canada
|
Posted: Fri Jul 08, 2005 4:06 am Post subject: |
|
|
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 |
|
 |
Blackwidow
Joined: 26 Jun 2005 Posts: 27
|
Posted: Fri Jul 08, 2005 4:47 am Post subject: |
|
|
| 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 |
|
 |
Sirwhizz
Joined: 08 Jun 2005 Posts: 16 Location: Melbourne, FL
|
Posted: Fri Jul 08, 2005 5:53 am Post subject: |
|
|
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
value type | Code: | | c:\cygwin\usr\local\pspdev\bin |
click new, variable name type
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 |
|
 |
wulf
Joined: 13 Apr 2005 Posts: 81
|
Posted: Fri Jul 08, 2005 6:01 am Post subject: |
|
|
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 |
|
 |
Blackwidow
Joined: 26 Jun 2005 Posts: 27
|
Posted: Fri Jul 08, 2005 6:55 am Post subject: |
|
|
| 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 |
|
 |
|