This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Help with Gcc-3.0.3 cross-compile
- From: "Shureih, Tariq" <tariq dot shureih at intel dot com>
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Thu, 7 Feb 2002 16:49:50 -0800
- Subject: Help with Gcc-3.0.3 cross-compile
I am using the following configure line:
./configure --build=i686-pc-linux-gnu --target=ia64-unknown-linux
--prefix=/usr/local/ --with-gnu-as --with-gnu-ld
and when I run "make", I get the following error:
/cross-compile/gcc-build/gcc/xgcc -B/cross-compile/gcc-build/gcc/
-B/usr/local//ia64-unknown-linux/bin/ -B/usr/local//ia64-unknown-linux/lib/
-isystem /usr/local//ia64-unknown-linux/include -O2 -DCROSS_COMPILE
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0.3/gcc
-I../../gcc-3.0.3/gcc/. -I../../gcc-3.0.3/gcc/config
-I../../gcc-3.0.3/gcc/../include -DL_divdi3 -c
../../gcc-3.0.3/gcc/libgcc2.c -o libgcc/./_divdi3.o
In file included from ../../gcc-3.0.3/gcc/libgcc2.c:47:
../../gcc-3.0.3/gcc/libgcc2.h:101: no data type for mode `TI'
../../gcc-3.0.3/gcc/libgcc2.h:102: no data type for mode `TI'
In file included from ../../gcc-3.0.3/gcc/libgcc2.c:47:
../../gcc-3.0.3/gcc/libgcc2.h:101: no data type for mode `TI'
../../gcc-3.0.3/gcc/libgcc2.h:102: no data type for mode `TI'
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libgcc/./_divdi3.o] Error 1
make[2]: Leaving directory `/cross-compile/gcc-build/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/cross-compile/gcc-build/gcc'
make: *** [all-gcc] Error 2
I would appreciate any help you can provide.
I read all the notes I can find on this topic and I am using:
binutils-2.11.2
gcc3.0.3 on the host system.
glibc 2.2.4 on the host system.
_*_*_*_*_*_*_
Tariq Shureih
Software Engineering
503-677-6776
Intel Corporation
tariq.shureih@intel.com