how to build gcc 2.95.3 for armv5

Hongbo Rong rong@mail.capsl.udel.edu
Thu Aug 21 16:24:00 GMT 2003


Hello,

I am building gcc 2.95.3 on a intel PXA250 board, which is ARM*
Architecture v.5TE compliant. I got the following error related with
floating point:
/tmp/ccrQ3rQ6.s:12: Error: selected processor does not support `fltd
f1,r3'

The following is the detailed info:

MontaVista Linux 3.0, Professional Edition
Linux/armv5tel 2.4.18_mvl30-dbpxa250

~/tmp/obj$ ../gcc-2.95.3/configure  --host=armv5tel-hardhat-linux
--target=armv5tel-hardhat-linux --enable-shared --enable-languages=c,c++
--enable-threads=posix --enable-__cxa_atexit --disable-multilib
--with-float=soft

~/tmp/obj$ make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
.....
_ashldi3
_ashrdi3
_ffsdi2
_udiv_w_sdiv
_udivmoddi4
_cmpdi2
_ucmpdi2
_floatdidf
/tmp/ccNpbXFZ.s: Assembler messages:
/tmp/ccNpbXFZ.s:12: Error: selected processor does not support `fltd
f1,r3'
/tmp/ccNpbXFZ.s:13: Error: selected processor does not support `ldfd
f0,.L19'
/tmp/ccNpbXFZ.s:14: Error: selected processor does not support `mufd
f1,f1,f0'
/tmp/ccNpbXFZ.s:15: Error: selected processor does not support `fltd
f2,r0'
/tmp/ccNpbXFZ.s:18: Error: selected processor does not support `mufd
f1,f1,f0'
/tmp/ccNpbXFZ.s:19: Error: selected processor does not support `ldfltd
f0,.L19+8'
/tmp/ccNpbXFZ.s:20: Error: selected processor does not support `adfltd
f2,f2,f0'
/tmp/ccNpbXFZ.s:22: Error: selected processor does not support `adfd
f0,f1,f2'
make[4]: *** [libgcc2.a] Error 1
make[4]: Leaving directory `/home/rong/tmp/obj/gcc'
make[3]: *** [stmp-multilib-sub] Error 2
make[3]: Leaving directory `/home/rong/tmp/obj/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/home/rong/tmp/obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/rong/tmp/obj/gcc'
make: *** [bootstrap] Error 2


Can someone give some suggestion?

Thank you.

Hongbo Rong




More information about the Gcc mailing list