Re: Problems compiling gcc-4.1.0

Luís Cargnini
2006-07-14T17:46:03Z

I almost forgot my configure line:
../gcc-4.1.0/configure --prefix=/opt/arm-linux --target=arm-linux
--disable-shared --disable-threads
--with-headers=/opt/arm-linux/arm-linux/include --with-float=soft
--enable-languages=c --build=i686-pc-linux-gnu

On 7/14/06, Luís Cargnini <lvcargnini@gmail.com> wrote:
>
> Hi someone knows how to fix this:
>
> /home/lvcargnini/puc/instramed/build/b-gcc/./gcc/xgcc
> -B/home/lvcargnini/puc/instramed/build/b-gcc/./gcc/
> -B/opt/arm-linux/arm-linux/bin/ -B/opt/arm-linux/arm-linux/lib/ -isystem
> /opt/arm-linux/arm-linux/include -isystem
> /opt/arm-linux/arm-linux/sys-include -O2 -O2 -g -O2 -DIN_GCC
> -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I.
> -I../../gcc- 4.1.0/gcc -I../../gcc-4.1.0/gcc/. -I../../gcc-4.1.0/gcc/../include
> -I../../gcc-4.1.0/gcc/../libcpp/include -g0 -finhibit-size-directive
> -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
> -fno-unit-at-a-time \
> -c ../../gcc-4.1.0/gcc/crtstuff.c -DCRT_BEGIN \
> -o crtbegin.o
> In file included from ../../gcc-4.1.0/gcc/crtstuff.c:68:
> ../../gcc-4.1.0/gcc/tsystem.h:90:19: error: stdio.h: No such file or
> directory
> ../../gcc-4.1.0/gcc/tsystem.h:93:23: error: sys/types.h: No such file or
> directory
> ../../gcc-4.1.0/gcc/tsystem.h:96:19: error: errno.h: No such file or
> directory
> ../../gcc-4.1.0/gcc/tsystem.h:103:20: error: string.h : No such file or
> directory
> ../../gcc-4.1.0/gcc/tsystem.h:104:20: error: stdlib.h: No such file or
> directory
> ../../gcc-4.1.0/gcc/tsystem.h:105:20: error: unistd.h: No such file or
> directory
> ../../gcc-4.1.0/gcc/tsystem.h:111:18: error: time.h: No such file or
> directory
> make[2]: *** [crtbegin.o] Error 1
> make[2]: Leaving directory
> `/home/lvcargnini/puc/instramed/build/b-gcc/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory `/home/lvcargnini/puc/instramed/build/b-gcc'
> make: *** [all] Error 2
>
>
> i have modified ../gcc-4.1.0/gcc/config/arm/t-linux and added
> -Dinhibit_libc -D__gthr_posix_h
> what should i do ???
> I'm doing this because of the clock erros that are appearing on compiling
> time with denx toolchain
> Thanks for any help
>
>
> --
> Thanks && Regards
> Msc. Bsc. Luís Vitório Cargnini
> IEEE Member
> Mastering Degree student @ PUC-RS Electrical Engineer Faculty
>

--
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Electrical Engineer Faculty