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 

A couple questions

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



Joined: 15 Jul 2004
Posts: 17

PostPosted: Sun Jul 25, 2004 5:13 pm    Post subject: A couple questions Reply with quote

I downloaded Lukasz's files the PS2dev for windows and set it all up and In Cygwin I can open directories and files. Now say I code a C/C++ program in notepad. How do I make that notepad file into an ELF? and when i do make it an elf could I run it off of Pukklink v1b and Inlink? Its conencted only by my ethernet cable. ALso, The tutorials im learning are teachign me C programming. Is C a programmign language I can use on PS2 and Comp without putting anything special in it? If so, Can anyone tell me where I can get a free compiler to make the C on the notepad to become a executable file on windows so I can test it?
Back to top
View user's profile Send private message AIM Address
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Sun Jul 25, 2004 8:34 pm    Post subject: Reply with quote

To compile your code into a ps2 elf use ee-gcc, the simplest form is ee-gcc file.c -c file.elf, this is without and library dependencies etc, for more info on gcc and make check out the sticky post in Question and Answers.

If you have cygwin installed and installed the dev package you can compile code for win32 by using gcc ( yes without the ee prefix ), if you dont have it I suggest installing the dev package.

And yes pukklink or ps2link is what most ppl use to run their code.

I suggest checking out the ps2sdk examples, compiling the hello example ( by using make in the samples/hello dir, by doing that you will see more of whats necessary to compile something of use.
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
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