Help! With Install

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Help! With Install

Post 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... ! :)
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Post 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.
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Post 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???
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Post 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
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Post 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
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

make
Shoot Pixels Not People!
Makeshift Development
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Post 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 ???
User avatar
evilo
Posts: 230
Joined: Thu Apr 22, 2004 8:40 pm
Contact:

Post 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...
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Post 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
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post 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.
Shoot Pixels Not People!
Makeshift Development
boomint
Posts: 80
Joined: Tue Apr 13, 2004 2:21 am
Location: Sheffield, UK

Post 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 :)"
--( someone stole my sig! )--
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Post 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..
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Post by baselsw »

I FIXED IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D:D:D THANKS bbchazz love ya ;) haha :D
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post 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 ;)
Shoot Pixels Not People!
Makeshift Development
baselsw
Posts: 10
Joined: Wed Mar 23, 2005 6:20 am

Post by baselsw »

Drakonite, okey your right.. :P... but i really appreciate all the help i got.. :)
Post Reply