severity normal thanks Install newlib-spu or add -nostdlib if you want to link without spu libc. I'll add newlib-spu to gcc-4.3-spu's Recommends. On Mon, Apr 14, 2008 at 02:32:36PM +0200, Adrian Knoth wrote: > Package: gcc-4.3-spu > Version: 4.3.0-3 > Severity: grave > Justification: renders package unusable > > > spu-gcc cannot produce executables. It also misses the system include > dir: > > adi@ps3:~$ cat spu_hello.c > #include <stdio.h> > > int main( unsigned long spuid ) > { > printf("Hello, World! (From SPU:%d)\n",spuid); > return (0); > } > > adi@ps3:~$ spu-gcc spu_hello.c -o spu_hello > spu_hello.c:1:19: error: stdio.h: No such file or directory > spu_hello.c: In function 'main': > spu_hello.c:5: warning: incompatible implicit declaration of built-in > function 'printf' > > adi@ps3:~$ spu-gcc -I/usr/include spu_hello.c -o spu_hello > /usr/bin/spu-ld: crt1.o: No such file: No such file or directory > collect2: ld returned 1 exit status > > adi@ps3:~$ dpkg -L gcc-4.3-spu | grep crt1 > adi@ps3:~$ echo $? > 1 > > > > -- > To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Attachment:
signature.asc
Description: Digital signature