PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

September 8, 2010 // 10:50 am - The first version of an open source toolchain for PS3 is available today courtesy of ooPo, meaning a possibility to create PlayStation 3 hombrew without requiring the Sony SDK.

Download: Open Source PS3 Toolchain

From the included ReadMe file:

What does this do?

This program will automatically build and install a compiler and other tools used in the creation of homebrew software for the Sony PlayStation 3 videogame system.

How do I use it?

1) Set up your environment by installing the following software:

autoconf, automake, bison, flex, gcc, make, makeinfo, patch, subversion, wget

2) Add the following to your login script:

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

3) Run the toolchain script:

./toolchain.sh

Where do I go from here?

Visit the following sites to learn more:

http://www.ps2dev.org
http://forums.ps2dev.org

Open Source PS3 Toolchain Development Begins

Follow us on Twitter, Facebook and drop by the PS3 Hacks and PS3 CFW forums for the latest PlayStation 3 scene and PS4 Hacks & JailBreak updates with PlayStation 4 homebrew PS4 Downloads.



#37 - sapperlott - September 20, 2010 // 11:46 am
sapperlott's Avatar
Quote Originally Posted by pragmadev View Post
I do confirm that it works, although, I wonder if it would be possible to get a debugger working PROPERLY...
Right now it's hard enough to get the toolchain into a state where it outputs working Lv-2 binaries. Getting GDB remote debugging working is a completely different matter.

#36 - pragmadev - September 18, 2010 // 8:38 am
pragmadev's Avatar
I do confirm that it works, although, I wonder if it would be possible to get a debugger working PROPERLY...

#35 - sapperlott - September 14, 2010 // 1:31 pm
sapperlott's Avatar
Quote Originally Posted by ztripez View Post
Perhaps even later start sketching on a PS3 Hombrew Plugin for eclipse.

Take a look here: http://www.alphaworks.ibm.com/tech/cellide

#34 - ztripez - September 13, 2010 // 5:45 pm
ztripez's Avatar
If i just can get the toolchain to work (using ubuntu 10.04) i'll start looking on to make an ecplise build enviroment.

Perhaps even later start sketching on a PS3 Hombrew Plugin for eclipse.

#33 - sapperlott - September 13, 2010 // 3:40 pm
sapperlott's Avatar
This doesn't look like it's meant to build CellOS Lv-2 executables. Lv-2 uses a different ABI (binary format elf64-powerpc-celloslv2) than the standard PPC64 ABI. I don't see any patches addressing that in the git repo.

If there are any capable toolchain hackers out there wanting to create an open Lv-2 toolchain, take a look at the ABI changes documented in PS3_SDKDoc_e.chm (which was leaked a few days ago) in section "OS Low-level Specifications".

You can compare it to this to find the differences from the standard PPC64 ABI (binary format elf64-powerpc) that the upstream toolchain implements: http://refspecs.linuxfoundation.org/ELF/ppc64/

Once we got the toolchain we can worry about the rest (like Lv-2 using the Dinkumware libc / libstdc++ which isn't available for free)

#32 - bighead77 - September 13, 2010 // 11:07 am
bighead77's Avatar
Hi all,

I have got 2 questions:

1. How do you actually setup a program like CodeLite to use the compiler and linker?
2. Do you need to use the make_package_npdrm.exe from the Official PS3 SDK to package the program or is their already an open-source version?

thanks

#31 - SuperDre - September 12, 2010 // 4:41 pm
SuperDre's Avatar
How about this time also support Windows as a development platform, I for one don't want to have to switch between linux and windows.

With this toolkit (compiler, linker) you can create ps3 (lv2) executables, by using the C sources and header files from the (official) ps3 sdk.

But you cannot release anything that is using the C sources and header files from the (official) ps3 sdk legally..

#30 - ztripez - September 12, 2010 // 2:22 pm
ztripez's Avatar
When i try to run ./toolchain-sudo.sh i get the folowing:

../scripts/003-newlib-1.18.0-PPU.sh: Failed.
ERROR: Could not run the toolchain script.

i ran sudo sh scripts/003-newlib-1.18.0-PPU.sh (as root)


cat: ../../patches/newlib-1.18.0-PPU.patch: Filen eller katalogen finns inte
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... Invalid configuration `ppu': machine `ppu' not recognized
configure: error: /bin/bash ../config.sub ppu failed

#29 - evilsperm - September 11, 2010 // 5:32 pm
evilsperm's Avatar
well the error I will get on every build of linux is

[Register or Login to view code]


@emot
Thats the old toolchain and it was released 1.24.10

#28 - emot - September 11, 2010 // 1:21 pm
emot's Avatar
There's a precompiled version made by ifcaro. I bet you can find it in download section.