« Return to Thread: userland compilation

Re: userland compilation

by Ben Ayed Hatem :: Rate this Message:

Reply to Author | View in Thread

I build gcc in /opt/or32-uclinux
# ../gcc-3.4.4/configure --target=or32-uclinux --prefix=/opt/or32-uclinux --local-prefix=/opt/or32-uclinux/or32-uclinux --with-gnu-as --with-gnu-ld --verbose --enable-languages=c

rich_daddio wrote:
Hi,
How did you build your toolchain? Usually gcc picks up the headers
with "sys-include" , what headers did you use and where did you or
your script place them?

BR,

Rich d




----- Original Message -----
From: Ben Ayed Hatem<hatemba@g...>
To:
Date: Fri Apr 11 03:49:46 CEST 2008
Subject: [openrisc] userland compilation

> Hello,
> I try to compile userland/init with make command but :
>
>
----------------------------------------------------------------------------------------------------------------

> or32-uclinux-gcc -c -o simpleinit.o simpleinit.c
> simpleinit.c:1:20: stdlib.h : Aucun fichier ou répertoire de
> ce type
> simpleinit.c:2:19: errno.h : Aucun fichier ou répertoire de ce
> type
> simpleinit.c: In function `main':
> simpleinit.c:13: erreur: « NULL » non déclaré
> (première utilisation dans
> cette fonction)
> simpleinit.c:13: erreur: (Chaque identificateur non
> déclaré est rapporté une
> seule fois
> simpleinit.c:13: erreur: pour chaque fonction dans laquelle il
> apparaît.)
> simpleinit.c:26: erreur: « errno » non déclaré
> (première utilisation dans
> cette fonction)
> simpleinit.c:26: erreur: « EINTR » non déclaré
> (première utilisation dans
> cette fonction)
> make: *** [simpleinit.o] Erreur 1
>
>
---------------------------------------------------------------------------------------------------------------

> how can I resolve this probleme ??
> --
> View this message in context:
> http://www.nabble.com/userland-compilation-tp16623639p16623639.html 
> Sent from the OpenCores - RISC mailing list archive at Nabble.com.
>
>
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc

 « Return to Thread: userland compilation