Page 1 of 1

Help! With Install

Posted: Thu Mar 24, 2005 8:46 am
by baselsw
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... ! :)

Posted: Thu Mar 24, 2005 9:11 am
by bbchazz
Just read the sticky at the top of the forum..it has everything you need to know...and is very easy to do.

Posted: Thu Mar 24, 2005 10:14 am
by baselsw
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???

Posted: Thu Mar 24, 2005 10:27 am
by bbchazz
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

Posted: Thu Mar 24, 2005 11:10 am
by baselsw
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

Posted: Thu Mar 24, 2005 11:46 am
by Drakonite
make

Posted: Thu Mar 24, 2005 9:44 pm
by baselsw
make test.c

returns

make: Nothing to be done for 'test.c'

test.c is the hello app from samples... what to do next ???

Posted: Thu Mar 24, 2005 10:50 pm
by evilo
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...

Posted: Fri Mar 25, 2005 12:20 am
by bbchazz
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

Posted: Fri Mar 25, 2005 2:31 am
by Drakonite
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.

Posted: Fri Mar 25, 2005 3:34 am
by boomint
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 :)"

Posted: Fri Mar 25, 2005 4:27 am
by baselsw
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..

Posted: Fri Mar 25, 2005 4:37 am
by baselsw
I FIXED IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D:D:D THANKS bbchazz love ya ;) haha :D

Posted: Fri Mar 25, 2005 4:40 am
by Drakonite
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 ;)

Posted: Fri Mar 25, 2005 5:02 am
by baselsw
Drakonite, okey your right.. :P... but i really appreciate all the help i got.. :)