cross compiler error

Ravi Samprathi rsamprat@cisco.com
Tue, 4 Feb 2003 21:04:06 -0800 (PST)


Hi
I have cross-compiled gcc-3.2 for arm.  I then tried
to compile gmp-3.1 for arm using this cross compiler.
It gives me this error:

-----------
creating cache ./config.cache
checking host system type... arm-arm-linux-gnu
checking target system type... arm-arm-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether the C compiler (arm-linux-gcc   ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[1]: Entering directory
`/root/protostar-maker/protostar-src-build-dir/gmp-3.1'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory
`/root/protostar-maker/protostar-src-build-dir/gmp-3.1'
make[1]: Entering directory
`/root/protostar-maker/protostar-src-build-dir/gmp-3.1'
make[1]: *** No rule to make target `install'.  Stop.
make[1]: Leaving directory
`/root/protostar-maker/protostar-src-build-dir/gmp-3.1'
/bin/sh: ./libtool: No such file or directory
/bin/sh: cd: /root/protostar-maker/devel-files/gmp/lib: No such file or
directory
arm-linux-strip: libgmp*.a: No such file or directory
arm-linux-strip: libgmp.so.3.*: No such file or directory
make: *** [gmp] Error 1

-----------

I then tried using newer versions of gmp including 4.x.
But i end up getting similar errors.

Could somebody let me know whats happening?  Am i missing
something?

Thanks
-Ravi