Building newlib without -mhard-float

Rick Mann rmann@latencyzero.com
Sat Sep 1 00:04:00 GMT 2007


I'm having a heck of a time getting newlib variants for ARM with VFP  
instructions. I configure using --with-float=soft, but it still  
builds a bunch of versions using -mhard-float. I tried modifying  
CFLAGS_FOR_TARGET to include -mcpu=xscale and/or -march=armv5te, but  
then I get errors about it confilicting with -mhard-float.

How do i get newlib to build without -mhard-float?

TIA,
Rick



More information about the Newlib mailing list