This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building newlib without -mhard-float


Rick Mann wrote:

On Sep 6, 2007, at 1:14 PM, Jeff Johnston wrote:


I've been looking quickly at the gcc. I noticed that if you configure xscale-elf, you then have the compiler use xscale-elf.h which has the following in it. Note that -mfpu=softvfp is the default. I think this is what you want. Also note the different multilibs.

Do you mean, using --target=xscale-elf? I did use --with-cpu=xscale and --target=arm-elf, and I get only the following multilibs, and the default build uses VFP and no soft float (although a simple float addition didn't fail for me).


$ arm-elf-gcc --print-multi-lib
.;
thumb;@mthumb


Yes, I meant build an xscale-elf toolchain. If you look at config.gcc you'll see the difference.

-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]