How to compile?

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

Moderators: cheriff, Herben

Post Reply
necromund
Posts: 2
Joined: Wed Sep 22, 2004 6:43 pm

How to compile?

Post 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)
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

the starsim example is unfortunately horribly outdated and doesnt compile with the current sdk without major rewriting.
Kung VU
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

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