Page 1 of 1

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

Posted: Sat Dec 04, 2004 4:22 pm
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 ;)

Posted: Sat Dec 04, 2004 5:24 pm
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.