Compiling PSPSDK on PS3 Linux and creating PSP and PS3 games
Compiling PSPSDK on PS3 Linux and creating PSP and PS3 games
How many people here are programming the psp via a ps3?
How do you compile the PSPSDK on a PS3 running linux?
Previously you just run the shell script to download and compile the
pspsdk via Cygwin on a PC, but if you are doing it on a PS3 running
linux, how do you go about doing this? Is there a step by step
procedure? Since there is an easy installation guide for the
GENTOO linux maybe there is a guide for installing the PSPSDK on this
platform also.
Secondly since one of the SPE on the ps3 runs the ps3 os, is this
the so called hypervisor that provides security? Is this what is
blocking access to the GPU natively?
Also, when is there going to be a PS3SDK? One that provides easy
libraries for getting the sixaxis input, outputting via the GPU (if possible)
How do you compile the PSPSDK on a PS3 running linux?
Previously you just run the shell script to download and compile the
pspsdk via Cygwin on a PC, but if you are doing it on a PS3 running
linux, how do you go about doing this? Is there a step by step
procedure? Since there is an easy installation guide for the
GENTOO linux maybe there is a guide for installing the PSPSDK on this
platform also.
Secondly since one of the SPE on the ps3 runs the ps3 os, is this
the so called hypervisor that provides security? Is this what is
blocking access to the GPU natively?
Also, when is there going to be a PS3SDK? One that provides easy
libraries for getting the sixaxis input, outputting via the GPU (if possible)
Re: Compiling PSPSDK on PS3 Linux and creating PSP and PS3 g
I've thought about this, because it will be faster than the Cygwin environment on my Windows PC :-)edepot wrote:How many people here are programming the psp via a ps3?
I don't think something like a full PS3SDK is necessary. Sound works already with the Linux defacto audio standard ALSA. But you are right, things like the controller support could be added to the PS3 respository at http://svn.ps2dev.org/ and maybe later it will be merged to the Linux code base itself, because then every computer with Linux and USB can use Sonys controller.edepot wrote: Also, when is there going to be a PS3SDK? One that provides easy
libraries for getting the sixaxis input, outputting via the GPU (if possible)
ps3sdk and pspsdk on ps3
Would it actually work? Can the pspsdk actually compile on PS3 linux?
Given that the subversion pspsdk contains sources on patches to the regular GNU sources for C and other libraries so that they can compile code and output PSP compatible binaries. And given that GNU C and
other libraries can compile on any supported processor (be it
x86, powerpc, etc). Does the subversion pspsdk actually patch the
regular GNU C and other libraries such that they work on ALL supported
CPU's so that the resultant compiler can output PSP binaries? Or are the
patches specific to a linux environment running on x86? If the patches
actually work on all CPU's then regular GNU C and other libraries must
currently work on CELL CPU's so that pspsdk can patch it to work on
the CELL right? Perhaps the regular GNU C already works on the single
PowerPC module on the CELL and the SPE's can be isolated. If so
does this mean people can actually compile the PSPSDK nowadays
on non x86 machines? (like maybe a mac powerpc running linux or
on a sparcstation running linux). If yes, then I think it should be no
problem running the pspsdk on a ps3 linux.
Given that the subversion pspsdk contains sources on patches to the regular GNU sources for C and other libraries so that they can compile code and output PSP compatible binaries. And given that GNU C and
other libraries can compile on any supported processor (be it
x86, powerpc, etc). Does the subversion pspsdk actually patch the
regular GNU C and other libraries such that they work on ALL supported
CPU's so that the resultant compiler can output PSP binaries? Or are the
patches specific to a linux environment running on x86? If the patches
actually work on all CPU's then regular GNU C and other libraries must
currently work on CELL CPU's so that pspsdk can patch it to work on
the CELL right? Perhaps the regular GNU C already works on the single
PowerPC module on the CELL and the SPE's can be isolated. If so
does this mean people can actually compile the PSPSDK nowadays
on non x86 machines? (like maybe a mac powerpc running linux or
on a sparcstation running linux). If yes, then I think it should be no
problem running the pspsdk on a ps3 linux.
I've installed it on my PS3 and it works. Just checkout psptoolchain from SVN, compile it with toolchain.sh and add this to your /etc/profile:
Now you can test it with "cd /usr/local/pspdev/psp/sdk/samples/gu/cube ; make" and you should get an EBOOT.PBP.
Code: Select all
export PSPDEV=/usr/local/pspdev
export PSPSDK=/usr/local/pspdev/psp
export PATH=$PATH:/usr/local/pspdev/bin
Horrified :3FreePlay wrote:I'm not entirely sure whether I should be impressed or horrified.adrahil wrote:Yup :) Compiled nice and cleanly :P Even psplink works, up to some extent ^^danzel wrote:IIRC adrahil has the pspsdk set up on a PS2 ;-)
Nah, it is just surprising to see a clean compilation (just some warnings with vsnprintf stuff) on such an exotic system (RHEL-derivative with 2.2.1 kernel and old libc...)