Search found 9 matches

by cchalpha
Tue Mar 04, 2008 1:01 pm
Forum: PS3 Linux Development
Topic: Introducing SPE Execution Management System (spexms)
Replies: 13
Views: 11662

According to your example code in spexms, the call to spu is asynchronous currently, but synchronous calls should be also provided as another choice of programming model/pattern. I think the complete I/O API model should be a good reference, in simple, it calls your handle funtion with the parameter...
by cchalpha
Wed Feb 27, 2008 1:28 am
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

Here are the packages I installed aptitude search ppu- i ppu-binutils - PPU assembler, linker and binary utilities i ppu-g++ - PPU C++ compiler i ppu-gcc - PPU C compiler i ppu-gdb - Combined debugger for Linux on Cell BE p ppu-gfortran - PPU Fortran compiler p ppu-gnat - PPU Ada compiler i ppu-sysr...
by cchalpha
Wed Feb 27, 2008 1:16 am
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

It works, type

aptitude search ppu-
and
aptitude search spu-

and you will have a list of ppu/spu related packages, and I am sure which ones should be installed, :D
by cchalpha
Tue Feb 26, 2008 6:59 pm
Forum: PS3 Linux Development
Topic: Introducing SPE Execution Management System (spexms)
Replies: 13
Views: 11662

unsolo, it's a great idea to make this project. I believe in homebrews game programming, the spe scheduling should be setup manually for best efficiency. But under linux, it is another case, linux is a general proposed OS, it is necessary to have such a scheduling mechanism to make the spe code exec...
by cchalpha
Tue Feb 26, 2008 12:03 pm
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

Thanks IronAvatar. I'll try your commands when I back home tonight.
by cchalpha
Mon Feb 25, 2008 2:58 pm
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

you used the toolchain for otheros, which has neither support for libc nor newlib. You may only be able to use the toolchain for compiling kernels or the otheros demo. I downloaded it from http://ps2dev.org/ps3/Tools/Toolchain/ps3toolchain-20070626.tar.bz2, I also tried the svn one, is it only for ...
by cchalpha
Mon Feb 25, 2008 12:06 am
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

unsolo wrote:what platform and why 4.2.0
I'm using ubuntu 8.04 on x86 pentium M, and the 4.2.0 is the right version according to the toolchain scripts for ppu, you can see 002-gcc-4.2.0-ppu-stage1.sh in scripts folder.
by cchalpha
Sun Feb 24, 2008 7:31 pm
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

Add -v to gcc and generate detail info. :~# ppu-gcc -v -o test test.c Using built-in specs. Target: ppu Configured with: ../configure --prefix=/usr/local/ps3dev/ppu --target=ppu --enable-languages=c,c++ --with-newlib --enable-cxx-flags=-G0 --disable-libgomp --disable-libmudfl...
by cchalpha
Sun Feb 24, 2008 7:22 pm
Forum: PS3 Linux Development
Topic: Have problem with the toolchain
Replies: 11
Views: 9395

Have problem with the toolchain

Built the toolchain on x86 host, but I have problem when I test it with the helloworld program. Any idea what happened? ~# ppu-gcc -o test test.c test.c: In function 'main': test.c:3: warning: incompatible implicit declaration of built-in function 'printf' /us...