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:
> 
> [EMAIL PROTECTED]:~$ cat spu_hello.c 
> #include <stdio.h>
> 
> int main( unsigned long spuid )
> {
>     printf("Hello, World! (From SPU:%d)\n",spuid);
>     return (0);
> }
> 
> [EMAIL PROTECTED]:~$ 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'
> 
> [EMAIL PROTECTED]:~$ 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
> 
> [EMAIL PROTECTED]:~$ dpkg -L gcc-4.3-spu | grep crt1
> [EMAIL PROTECTED]:~$ echo $?
> 1
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to