arm and -msoft-float
Michael Butts
antone_p_camulde@yahoo.com
Mon Oct 29 14:44:00 GMT 2001
I am trying to build an arm-elf toolset using gcc
2.95.3, binutils 2.11.2 and newlib 1.9.0 on a FreeBSD
4.4 system.
I am able to build everything successfully, but cannot
get soft-float support.
binutils was configured using:
--prefix=/usr/local/cross_dev/arm --target=arm-elf
In the gcc-2.95.3 dir, I created a link to
../newlib-1.9.0/newlib and configured as:
--prefix=/usr/local/cross_dev/arm --target=arm-elf
--enable-multilib --with-newlib
Before making gcc, I went into the gcc dir and
uncommented the lines in the Makefile:
MULTILIB_OPTIONS = mlittle-endian/mbig-endian
mhard-float/msoft-float mapcs-32/mapcs-26
fno-leading-underscore/fleading-underscore
MULITLIB_DIRNAMES = le be fpu soft 32bit 26bit elf
under
After make/install, I end up with the following
directories in the arm/arm-elf/lib dir:
be fpu 26bit elf under
No soft!
When building my source code:
/usr/local/cross_dev/arm/bin/arm-elf-ld: Error:
memcpy.o uses hard floating point, whereas hotrod.elf
uses soft floating point
File in wrong format: failed to merge target specific
data of file
/usr/local/cross_dev/arm/arm-elf/lib/be/soft/libc.a(memcpy.o)
Any ideas on how to get soft-float support?
Thanks,
Mike
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
More information about the Newlib
mailing list