Instructions on setting up the compiler and libs can be found here.
# tar xzvf ps2dev-toolchain_20050313.tar.gz -C /
Now append the following to e.g. your /etc/profile
PS2DEV=/usr/local/ps2dev
EE=$PS2DEV/ee
PS2LIB=$PS2DEV/ps2lib
PATH=$PATH:$PS2DEV/bin:$EE/bin
export PS2DEV EE PS2LIB PATH
This is a development branch so there are no pre-packaged source distributions yet. To get your copy of TEKlib you will need the Mercurial version control system. Then proceed with:
$ hg clone http://hg.teklib.org/teklibStart your favourite loader and try some of the tests in teklib/bin/ps2.
This branch is still missing datatype support and the PS2 visual backend has to be rewritten. And just as in the previous version: dynamic loading of modules is not supported; modules are linked statically.