This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello Everyone, I am trying to create a cross compiler GCC 3.4.2 for Itanium where the host is x86. I am getting the following error: if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /tmp/IA64/b-gcc/gcc/xgcc -B/tmp/IA64/b-gcc/gcc/ -B/tmp/IA64/ia64-linux/ia64-linux/bin/ -B/tmp/IA64/ia64-linux/ia64-linux/lib/ -isystem /tmp/IA64/ia64-linux/ia64-linux/include -isystem /tmp/IA64/ia64-linux/ia64-linux/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.4.2/gcc -I../../gcc-3.4.2/gcc/. -I../../gcc-3.4.2/gcc/../include -fexceptions -c ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c -o libgcc/./unwind-ia64.o In file included from ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c:38: ../../gcc-3.4.2/gcc/unwind.h:201:20: stdlib.h: No such file or directory ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c: In function `push': ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c:370: warning: implicit declaration of function `memcpy' ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c: In function `uw_frame_state_for': ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c:1766: warning: implicit declaration of function `memset' ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c: At top level: ../../gcc-3.4.2/gcc/config/ia64/unwind-ia64.c:1505: warning: 'ia64_copy_rbs' defined but not used make[2]: *** [libgcc/./unwind-ia64.o] Error 1 make[2]: Leaving directory `/tmp/IA64/b-gcc/gcc' make[1]: *** [libgcc.a] Error 2 what am I doing wrong? I can see that it is unable to find stdlib.h. IF I go in and remove the #include, I am sure I will run into much more errors. Also, this is the line I used to configure gcc: ../gcc-3.4.2/configure --target=ia64-linux --prefix=/tmp/IA64/ia64-linux --with-local-prefix=/tmp/IA64/ia64-linux/ia64-linux --with-gnu-as --with-gnu-ld --enable-languages="c" --with-system-libunwind --disable-threads Any help is greatly appreciated. Thanking You, Yours Sincerely, Balaji V. Iyer. PS. CC's is greatly appreciated. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |