Page 1 of 1

How to compile?

Posted: Wed Sep 22, 2004 6:45 pm
by necromund
I just downloaded the enviorement with the toolchain.sh file for
Linux and installed it succesfully. Then i tried to compile the
starsim demo avaible from the tutorial in ps2dev.org but i get
errors like the compiler can find some headers, for example,
kernel.h.
I have the enviorement installed in /usr/local/ps2dev and the
enviroment variables pointed correctly as the toolchain.sh
indicates, so... how is the correct form to compile a program? I
can't find any tutorial that indicates how to do that
(sorry about my english)

Posted: Wed Sep 22, 2004 10:09 pm
by blackdroid
the starsim example is unfortunately horribly outdated and doesnt compile with the current sdk without major rewriting.

Posted: Thu Sep 23, 2004 1:21 am
by ooPo
To add helpfulness to this thread, try looking at the example code in ps2lib. It should give you a basic idea of how to compile a program. They can be found in the EE directory of the ps2lib source.

BTW, have these examples moved into ps2sdk yet?