Search found 7 matches

by vivi
Wed Aug 12, 2009 6:32 am
Forum: PS3 Linux Development
Topic: Passing variables to SPE
Replies: 6
Views: 6301

Looks, pretty good. But the link for the source doesn't work. Do you know an alternate source?
by vivi
Mon Aug 03, 2009 8:18 am
Forum: PS3 Linux Development
Topic: Passing variables to SPE
Replies: 6
Views: 6301

thanks
by vivi
Thu Jul 30, 2009 12:01 pm
Forum: PS3 Linux Development
Topic: Passing variables to SPE
Replies: 6
Views: 6301

Passing variables to SPE

Hi, i'm not sure how to pass variables to the SPE's. I want to pass "xd" and "packlist" to the SPE so that start_md5_hash know's what to create a checksum for . Here is the SPE code. int main(unsigned long long spe_id, unsigned long long) { ioutput&#4...
by vivi
Thu Jul 30, 2009 11:44 am
Forum: PS3 Linux Development
Topic: How should this be placed in a makefile?
Replies: 8
Views: 5221

Ah, yeah should have wrote the dependancies. It still compiled without them though. Is including the source files as dependencies just to make it easier for the human programmer?
by vivi
Wed Jul 29, 2009 3:51 am
Forum: PS3 Linux Development
Topic: How should this be placed in a makefile?
Replies: 8
Views: 5221

Came back to it later and and solved it after reading more about creating makefiles and playing around. I think that the problem was that the makefiles suggested were in reverse. Here is the working copy which includes am extra spe program. Thanks for the help :) CC = gcc -Wall SPU-GCC = spu-gcc-4.3...
by vivi
Fri Jul 10, 2009 1:57 am
Forum: PS3 Linux Development
Topic: How should this be placed in a makefile?
Replies: 8
Views: 5221

hmm, recieving error 127 when i try to use that makefile. I'm baffled, does anyone have any more attempts. Placing the commands spu-gcc-4.3 spe_example.c -o spe_example embedspu test_handle spe_example spe_example_csf.o gcc ppe_example.c spe_example_csf.o -lspe2 -o example; in an sh file feels and s...
by vivi
Wed Jul 08, 2009 8:37 am
Forum: PS3 Linux Development
Topic: How should this be placed in a makefile?
Replies: 8
Views: 5221

How should this be placed in a makefile?

Hi, this compiles and works fine, but I'm not sure how to put this into a Makefile. spu-gcc-4.3 spe_example.c -o spe_example; embedspu test_handle spe_example spe_example_csf.o; gcc ppe_example.c spe_example_csf.o -lspe2 -o example; Here is my attempt so far CC=gcc CFLAGS=-g -Wall SPUGCC=spu-gcc-4.3...