have required stuff installed first or you waste alot of time :P
have required stuff installed first or you waste alot of time :P

mkdir /opt/free60-git
cd /opt/free60-git
(modify permissions to make directorys and build as non root user)
---Use gligli's git---
git clone https://github.com/gligli/libxenon
Build toolchain:
mkdir /usr/local/xenon
chown username. /user/local/xenon
./build-xenon-toolchain toolchain
add to /home/user/.bashrc:
export DEVKITXENON="/usr/local/xenon"
export PATH="$PATH:$DEVKITXENON/bin:$DEVKITXENON/usr/bin"

build libxenon and libs (zlib, libpng, freetype)
./build-xenon-toolchain libxenon
./build-xenon-toolchain libs

build sdl:
cd /opt/free60-git/
git clone https://github.com/lantus/libSDLXenon.git
make -f Makefile.xenon
make -f Makefile.xenon install

#not needed
#build ZLX:
#cd ../
#svn checkout http://zlx.googlecode.com/svn/trunk/ zlx-read-only
#cd zlx-read-only
#make -f Makefile_lib
#make -f Makefile_lib install

# Also, comment out the size_t declaration in SDL_config_xenon.h
# Create usr/bin/sdl-config and point it at xenon
build with libxenon 

export xenon=1
make
then 
/usr/local/xenon/bin/xenon-objcopy  -O elf32-powerpc --adjust-vma 0x80000000 paintown xenon.elf32



git-svn-id: 39e099a8ed5324aded674b764a67f7a08796d9a7@7558 662fdd30-d327-0410-a531-f549c87e1e9e

boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,boyjimeking/paintown,boyjimeking/paintown