Compiling for the ps2?
Posted: Fri Mar 10, 2006 3:57 am
Hello everyone, my first post here.
I just got the toolchain on my linux boxxen, and it seems to be working.
I'm pretty new to programming in general though, and have no idea how makefiles work, so I can't decipher how it calls the compiler and what flags it passes. This makes it pretty hard to compile my own code.
I can compile the examples using make but I don't really know how the different processors work together. One sample I tried was cube, I moved the elf to my ps2 and it ran just fine, but the hello sample produces an .erl, how do those work?
So basically, what I'd like to know is:
I just got the toolchain on my linux boxxen, and it seems to be working.
I'm pretty new to programming in general though, and have no idea how makefiles work, so I can't decipher how it calls the compiler and what flags it passes. This makes it pretty hard to compile my own code.
I can compile the examples using make but I don't really know how the different processors work together. One sample I tried was cube, I moved the elf to my ps2 and it ran just fine, but the hello sample produces an .erl, how do those work?
So basically, what I'd like to know is:
- How do I compile my code using the ps2sdk?
How do I use the different processors?