| View previous topic :: View next topic |
| Author |
Message |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Thu Mar 24, 2005 8:46 am Post subject: Help! With Install |
|
|
| Hey I have problems getting started with my PS2Dev kit, I can't install everything right! I've tried everything, (Cygwin, MDS...) but i can't get it right.. can someone give me a "NoOb" guide or please send me Preinstalled files... If anything is illegal in my request then just forget it... thx for all the answers... ! :) |
|
| Back to top |
|
 |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Thu Mar 24, 2005 9:11 am Post subject: |
|
|
| Just read the sticky at the top of the forum..it has everything you need to know...and is very easy to do. |
|
| Back to top |
|
 |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Thu Mar 24, 2005 10:14 am Post subject: |
|
|
| I have done everything I tell you and when i type ee-gcc -v in Cygwin i get that it's installed.. but how do i Compile the test.c file then ??? P.S the vars $(PS2SDK), $(PS2DEV)...... isn't set.. how can I set them??? |
|
| Back to top |
|
 |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Thu Mar 24, 2005 10:27 am Post subject: |
|
|
To set the variables edit the cygwin.bat file. I copied mine below to make it easier for you. Hopefully its right, there may be other ways of doing it but everything works fine for me.
@echo off
C:
chdir C:\cygwin\bin
set ps2dev=/usr/local/ps2dev
set ps2sdk=/usr/local/ps2dev/ps2sdk
set gskit=/usr/local/ps2dev/ps2sdk/gskit
set gslib=/usr/local/ps2dev/gslib
bash --login -i |
|
| Back to top |
|
 |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Thu Mar 24, 2005 11:10 am Post subject: |
|
|
| okey.. everything seems okey now.. but 1 prob is left.. :$.. how do I compile the test.c file in Cygwin.. i'm really not into Cygwin stuff... :).. thx |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Thu Mar 24, 2005 11:46 am Post subject: |
|
|
make _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Thu Mar 24, 2005 9:44 pm Post subject: |
|
|
make test.c
returns
make: Nothing to be done for 'test.c'
test.c is the hello app from samples... what to do next ??? |
|
| Back to top |
|
 |
evilo

Joined: 22 Apr 2004 Posts: 230
|
Posted: Thu Mar 24, 2005 10:50 pm Post subject: |
|
|
| bbchazz wrote: | To set the variables edit the cygwin.bat file. I copied mine below to make it easier for you. Hopefully its right, there may be other ways of doing it but everything works fine for me.
@echo off
C:
chdir C:\cygwin\bin
set ps2dev=/usr/local/ps2dev
set ps2sdk=/usr/local/ps2dev/ps2sdk
set gskit=/usr/local/ps2dev/ps2sdk/gskit
set gslib=/usr/local/ps2dev/gslib
bash --login -i |
Beurk.. Cygwin is running under windows, but it's not a reason to put your env variables into the .bat !
Why don't you put them in your .bash_profile under your home directory OR under in a (for i.e) toolchain.sh under etc/profile.d/
It's much more cleaner that the piteous .bat file... |
|
| Back to top |
|
 |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Fri Mar 25, 2005 12:20 am Post subject: |
|
|
| baselsw wrote: | make test.c
returns
make: Nothing to be done for 'test.c'
test.c is the hello app from samples... what to do next ??? |
Nothing to be done means just that, if you look in the samples folder there prolly is already a test.elf. If so just delete it and try "make" again it should build you a new one.
Thanks evilo I will try that out |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Fri Mar 25, 2005 2:31 am Post subject: |
|
|
| baselsw wrote: | make test.c
returns
make: Nothing to be done for 'test.c'
test.c is the hello app from samples... what to do next ??? |
Read up on unix development tools, such as make. _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
boomint
Joined: 13 Apr 2004 Posts: 80 Location: Sheffield, UK
|
Posted: Fri Mar 25, 2005 3:34 am Post subject: |
|
|
A character by character tutorial is what's lacking I think...
Next question: "I have test.elf, now what do I do?"
Reply: "Read up on loaders and setup on ps2dev.org :)" _________________ --( someone stole my sig! )-- |
|
| Back to top |
|
 |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Fri Mar 25, 2005 4:27 am Post subject: |
|
|
| boomint wrote: | A character by character tutorial is what's lacking I think...
Next question: "I have test.elf, now what do I do?"
Reply: "Read up on loaders and setup on ps2dev.org :)" |
I just have prob with Cygwin cuz i don't have any experience in Unix, and I know what to do with an ELF file.. sorry for asking then.. |
|
| Back to top |
|
 |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Fri Mar 25, 2005 4:37 am Post subject: |
|
|
| I FIXED IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D:D:D THANKS bbchazz love ya ;) haha :D |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Fri Mar 25, 2005 4:40 am Post subject: |
|
|
| boomint wrote: | A character by character tutorial is what's lacking I think...
Next question: "I have test.elf, now what do I do?"
Reply: "Read up on loaders and setup on ps2dev.org :)" |
Expecting someone to know how to use the ps2 specific tools is a lot different than expecting them to be able to use the basic, widely used and not ps2 specific unix development tools, of which there are hundreds of tutorials out there for.
Asking people to read up on some of those tutorials instead of answering a ton of questions about every little program seems reasonable to me ;) _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
baselsw
Joined: 23 Mar 2005 Posts: 10
|
Posted: Fri Mar 25, 2005 5:02 am Post subject: |
|
|
| Drakonite, okey your right.. :P... but i really appreciate all the help i got.. :) |
|
| Back to top |
|
 |
|