Soft-float compiler for ARM

Robert Schwebel
Tue Jan 27 20:19:00 GMT 2004


I'm trying to compile U-Boot with the PTXdist gcc-3.3.2 for ARM. It
seems like libgcc was built with hard float support, whereas U-Boot
requires soft float: the linker stage reports: 

	arm-linux-ld: ERROR: /tmp/arm-linux-3.3.2/lib/gcc-lib/arm-unknown-linux-gnu/3.3.2/libgcc.a(_udivsi3.oS) uses hardware FP, whereas u-boot uses software FP

Does anybody know how I can configure gcc-3.3.2 in a way it generates
libgcc with soft float support? I already tried --enable-softfloat and
it does not work; the same configure arguments work fine with

 Dipl.-Ing. Robert Schwebel |
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list