Some notes, roughly translated: Have long had compiled the toolchain ps3 and ps3sdk of mc and when I thought I had put it here, but did not want to put it to you test. Today finally I decided to test the hello world and it worked.
So here I leave the PS3 Toolchain & PS3SDK of mc. I have converted the elf to a bld and have run the hello world I managed to compile the toolchain and ps3sdk on windows with mingw. Then I went to compile the examples and I have generated an elf.
Package precompiled toolchain with the PS3 and the ps3sdk draft of mc. Tested on Windows 7 and Windows XP. gzip it and rename it to otheros.bld .. then it should work on the PS3.
You can convert the ELF to a BLD (although you need to convert the ELF to raw binary using "ppu-objcopy -O binary" before gzipping it), but if you have an otheros partition on your harddrive (formatted as EXT2/EXT3), it's more convenient to use mcload, which can run the ELFs directly.
Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!
Woot, I did it. I deleted everything, reinstalled it and edited a few files.
1. Ran the C:/ps3dev/ps3dev.bat and went to C:/ps3dev/msys/1.0/ and ran the msys.bat
2. in the command window, I used the command
3. Error! It could not find the main build.mak file, we'll fix that. (keep the MINGW32 cmd-like window open!)
4. Open the Makefile located in "C:\ps3dev\ps3sdk\samples\template\elf_template\" and change
and then save it.
5. On the MINGW32 cmd-like window, use the command: (the mingw32 still should be in the directory of "C:\ps3dev\ps3sdk\samples\template\elf_template", If not, use the CD command to get it there..)
6. O.o New error, This time, It cant find the ppu binaries it needs (which are located in the "C:\ps3dev\ppu\bin" folder.
7. (again, keep the MINGW32 windows open) To Fix this, open up "C:\ps3dev\ps3sdk\build.mak" in notepad/wordpad and we need to edit:
CC = ppu-gcc
CXX = ppu-g++
AS = ppu-gcc
LD = ppu-gcc
AR = ppu-ar
RANLIB = ppu-ranlib
STRIP = ppu-strip
CC = C:\ps3dev\ppu\bin\ppu-gcc
CXX = C:\ps3dev\ppu\bin\ppu-g++
AS = C:\ps3dev\ppu\bin\ppu-gcc
LD = C:\ps3dev\ppu\bin\ppu-gcc
AR = C:\ps3dev\ppu\bin\ppu-ar
RANLIB = C:\ps3dev\ppu\bin\ppu-ranlib
STRIP = C:\ps3dev\ppu\bin\ppu-strip
8. Finally, we need to go back to the MINGW32 window, and run the MAKE command again.
This time, it succeeds and creates the .elf we were looking for. We can now run this using mcload or convert it into a .bld (which i'm looking into now! Will post up how to do it)