Search found 7 matches
- Wed Aug 12, 2009 6:32 am
- Forum: PS3 Linux Development
- Topic: Passing variables to SPE
- Replies: 6
- Views: 11163
- Mon Aug 03, 2009 8:18 am
- Forum: PS3 Linux Development
- Topic: Passing variables to SPE
- Replies: 6
- Views: 11163
- Thu Jul 30, 2009 12:01 pm
- Forum: PS3 Linux Development
- Topic: Passing variables to SPE
- Replies: 6
- Views: 11163
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...
- Thu Jul 30, 2009 11:44 am
- Forum: PS3 Linux Development
- Topic: How should this be placed in a makefile?
- Replies: 8
- Views: 9812
- Wed Jul 29, 2009 3:51 am
- Forum: PS3 Linux Development
- Topic: How should this be placed in a makefile?
- Replies: 8
- Views: 9812
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...
- Fri Jul 10, 2009 1:57 am
- Forum: PS3 Linux Development
- Topic: How should this be placed in a makefile?
- Replies: 8
- Views: 9812
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...
- Wed Jul 08, 2009 8:37 am
- Forum: PS3 Linux Development
- Topic: How should this be placed in a makefile?
- Replies: 8
- Views: 9812
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...