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 

Compiling (.C source|.H source) -> To (.O File) How??

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



Joined: 22 Nov 2004
Posts: 16

PostPosted: Sat Dec 04, 2004 4:22 pm    Post subject: Compiling (.C source|.H source) -> To (.O File) How?? Reply with quote

Hey guys, just wondering i think im having trouble compiling a source file, the problem is that the *.o file isnt being creating properly, how do you make the .c file to an .o file, thanks, i really appreciate it :)


- AngelSephiroth


P.S - Once i learn enough to understand Ps2 programming and get into 3D for this console i will show ya my 3D skills ;)
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Dec 04, 2004 5:24 pm    Post subject: Reply with quote

ee-gcc -c filename.c -o filename.o

You may find it useful to read the documentation on gcc.

( http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/ )

You may also find it useful to see the sample programs included with ps2sdk, most likely located in /usr/local/ps2dev/ps2sdk/samples.
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