FW: Problem building cross compiler gcc-4.0.3 for ARM using CYGWIN in Windows2000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am facing problem while building cross compiler gcc-4.0.3 for ARM using CYGWIN in Windows2000.

I m using following :

Binutils-2.16
Newlib1.14.0
Gcc-4.0.3

When i build Bootstrap Cross Compiler , i get following error message:

make[3]: Entering directory `/cygdrive/c/build/build-gcc/gcc'
/cygdrive/c/build/build-gcc/gcc/xgcc -B/cygdrive/c/build/build-gcc/gcc/ -B/cygdrive/c/build/Build/arm-elf/bin/ -B/cygdrive/c/build/Build/arm-elf/lib/ -isystem /cygdrive/c/build/Build/arm-elf/include -isystem /cygdrive/c/build/Build/arm-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I.././gcc-4.0.3/gcc -I.././gcc-4.0.3/gcc/. -I.././gcc-4.0.3/gcc/../include -I.././gcc-4.0.3/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.0.3/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from .././gcc-4.0.3/gcc/crtstuff.c:64:
.././gcc-4.0.3/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
.././gcc-4.0.3/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
.././gcc-4.0.3/gcc/tsystem.h:96:19: error: errno.h: No such file or directory
.././gcc-4.0.3/gcc/tsystem.h:103:20: error: string.h: No such file or directory
.././gcc-4.0.3/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory
.././gcc-4.0.3/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory
.././gcc-4.0.3/gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory `/cygdrive/c/build/build-gcc/gcc'
make[2]: *** [extra] Error 2
make[2]: Leaving directory `/cygdrive/c/build/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/cygdrive/c/build/build-gcc/gcc'
make: *** [all-gcc] Error 2


My config options is as below:

$ ./gcc4.0.3/configure --target=$TARGET --prefix=$PREFIX --disable-threads --wi th-newlib -with-headers=../newlib-1.14.0/newlib/libc/include --disable-shared - -enable-languages=c --with-cpu=arm7tdmi 2>&1 |tee configure.log

Can anyone please help me point out the problem cause & how to solve it?

Thanks and Regards,
Kanwal



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux