make bug
J LeBlanc
j@inet.com
Thu Nov 9 08:07:00 GMT 2000
IâÂÂm trying to make
gcc 2.95.2. ÃÂ The host is sparc-sun-solaris2.6,
and the target is arm-aout. àHereâÂÂs
what I did: ÃÂ
UntarâÂÂed the
tarball
mkdir build-gcc
cd build-gcc
../gcc-2.95.2/configure
âÂÂtarget=arm-aout âÂÂprefix=~/arm
make all install
ÃÂ
One or two problems
with this. ÃÂ Small problem: for some
reason, the configure script changes the target from arm-aout to
arm-unknown-aout. ÃÂ I did a very
similar procedure with binutils (i.e. âÂÂconfigureâ then âÂÂmake all installâÂÂ), and
that left the target variable as âÂÂarm-outâ change the name of the target.
ÃÂ
Big problem: àmake fails! àHereâÂÂs where the shit starts hitting the fan:
_udivsi3
/bin/sh:
arm-aout-ar: not found
_divsi3
/bin/sh:
arm-aout-ar: not found
_umodsi3
/bin/sh:
arm-aout-ar: not found
_modsi3
/bin/sh:
arm-aout-ar: not found
_dvmd_tls
/bin/sh:
arm-aout-ar: not found
rm -f libgcc1.S
mv tmplibgcc1.a
libgcc1-asm.a
mv: cannot access
tmplibgcc1.a
make[1]: ***
[libgcc1-asm.a] Error 2
make[1]: Leaving
directory `/home/jleblanc/arm-build/build-gcc/gcc'
make: *** [all-gcc]
Error 2
ÃÂ
Then it quits.
ÃÂ
Am I doing
something wrong? ÃÂ Do you need any
more information (Makefile, config cache, etc.)?
ÃÂ
Thanks!
ÃÂ
-Justin LeBlanc
More information about the Gcc-bugs
mailing list