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

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

Moderators: cheriff, Herben

Post Reply
AngelSephiroth
Posts: 16
Joined: Mon Nov 22, 2004 10:25 am

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

Post by AngelSephiroth »

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 ;)
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

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.
Post Reply