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 

Help! With Install

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



Joined: 23 Mar 2005
Posts: 10

PostPosted: Thu Mar 24, 2005 8:46 am    Post subject: Help! With Install Reply with quote

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
View user's profile Send private message
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Thu Mar 24, 2005 9:11 am    Post subject: Reply with quote

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
View user's profile Send private message
baselsw



Joined: 23 Mar 2005
Posts: 10

PostPosted: Thu Mar 24, 2005 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Thu Mar 24, 2005 10:27 am    Post subject: Reply with quote

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
View user's profile Send private message
baselsw



Joined: 23 Mar 2005
Posts: 10

PostPosted: Thu Mar 24, 2005 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Mar 24, 2005 11:46 am    Post subject: Reply with quote

make
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
baselsw



Joined: 23 Mar 2005
Posts: 10

PostPosted: Thu Mar 24, 2005 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
evilo



Joined: 22 Apr 2004
Posts: 230

PostPosted: Thu Mar 24, 2005 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Fri Mar 25, 2005 12:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Mar 25, 2005 2:31 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
boomint



Joined: 13 Apr 2004
Posts: 80
Location: Sheffield, UK

PostPosted: Fri Mar 25, 2005 3:34 am    Post subject: Reply with quote

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
View user's profile Send private message
baselsw



Joined: 23 Mar 2005
Posts: 10

PostPosted: Fri Mar 25, 2005 4:27 am    Post subject: Reply with quote

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
View user's profile Send private message
baselsw



Joined: 23 Mar 2005
Posts: 10

PostPosted: Fri Mar 25, 2005 4:37 am    Post subject: Reply with quote

I FIXED IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D:D:D THANKS bbchazz love ya ;) haha :D
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Mar 25, 2005 4:40 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baselsw



Joined: 23 Mar 2005
Posts: 10

PostPosted: Fri Mar 25, 2005 5:02 am    Post subject: Reply with quote

Drakonite, okey your right.. :P... but i really appreciate all the help i got.. :)
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 -> PS2 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