Have you considered using crosstool .. It should work fine . http://www.kegel.com/crosstool cheers Ramana On Tue, 2005-06-28 at 13:51 -0700, Balaji V. Iyer wrote: > 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" > > > Any help is appreciated. > > > Thanking You, > > Yours Sincerely, > > Balaji V. Iyer. > > PS. CC's is greatly appreciated. > > > > __________________________________ > Yahoo! Mail > Stay connected, organized, and protected. Take the tour: > http://tour.mail.yahoo.com/mailtour.html