| View previous topic :: View next topic |
| Author |
Message |
edepot
Joined: 09 Apr 2005 Posts: 111
|
Posted: Sat Dec 23, 2006 9:52 pm Post subject: 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) |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Sun Dec 24, 2006 5:14 am Post subject: Re: Compiling PSPSDK on PS3 Linux and creating PSP and PS3 g |
|
|
| edepot wrote: | How many people here are programming the psp via a ps3?
|
I've thought about this, because it will be faster than the Cygwin environment on my Windows PC :-)
| 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) |
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. |
|
| Back to top |
|
 |
edepot
Joined: 09 Apr 2005 Posts: 111
|
Posted: Sun Dec 24, 2006 7:02 am Post subject: 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. |
|
| Back to top |
|
 |
groepaz

Joined: 01 Sep 2005 Posts: 305
|
|
| Back to top |
|
 |
danzel
Joined: 04 Nov 2005 Posts: 182
|
Posted: Sun Dec 24, 2006 4:59 pm Post subject: |
|
|
| IIRC adrahil has the pspsdk set up on a PS2 ;-) |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Sun Dec 24, 2006 5:14 pm Post subject: |
|
|
| danzel wrote: | | IIRC adrahil has the pspsdk set up on a PS2 ;-) | Yup :) Compiled nice and cleanly :P Even psplink works, up to some extent ^^ |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Thu Dec 28, 2006 2:16 am Post subject: |
|
|
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:
| Code: |
export PSPDEV=/usr/local/pspdev
export PSPSDK=/usr/local/pspdev/psp
export PATH=$PATH:/usr/local/pspdev/bin
|
Now you can test it with "cd /usr/local/pspdev/psp/sdk/samples/gu/cube ; make" and you should get an EBOOT.PBP. |
|
| Back to top |
|
 |
FreePlay
Joined: 04 Jan 2006 Posts: 71 Location: Schenectady, New York, USA
|
Posted: Sat Dec 30, 2006 11:05 am Post subject: |
|
|
| adrahil wrote: | | danzel wrote: | | IIRC adrahil has the pspsdk set up on a PS2 ;-) | Yup :) Compiled nice and cleanly :P Even psplink works, up to some extent ^^ | I'm not entirely sure whether I should be impressed or horrified. |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Sat Dec 30, 2006 7:02 pm Post subject: |
|
|
| FreePlay wrote: | | adrahil wrote: | | danzel wrote: | | IIRC adrahil has the pspsdk set up on a PS2 ;-) | Yup :) Compiled nice and cleanly :P Even psplink works, up to some extent ^^ | I'm not entirely sure whether I should be impressed or horrified. |
Horrified :3
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...) |
|
| Back to top |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Sat Dec 30, 2006 9:11 pm Post subject: |
|
|
a little bit off topic :
is gcc on PS3 able to compile programs for SPE and not only for CPU ? |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Sun Dec 31, 2006 2:46 am Post subject: |
|
|
| hlide wrote: |
is gcc on PS3 able to compile programs for SPE and not only for CPU ? |
Yes, you can compile for SPE (at least with my Gentoo installation). |
|
| Back to top |
|
 |
|