* arm and -msoft-float
@ 2001-10-29 6:05 Michael Butts
0 siblings, 0 replies; 2+ messages in thread
From: Michael Butts @ 2001-10-29 6:05 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* arm and -msoft-float
@ 2003-03-21 7:45 Hugo Villeneuve
0 siblings, 0 replies; 2+ messages in thread
From: Hugo Villeneuve @ 2003-03-21 7:45 UTC (permalink / raw)
To: gcc-help
Hi,
With gcc-3.2.2 and arm-elf target, I have specified:
MULTILIB_OPTIONS = marm/mthumb msoft-float
MULTILIB_DIRNAMES = arm thumb soft
MULTILIB_EXCEPTIONS =
in the file gcc-3.2.2/gcc/config/arm/t-arm-elf
After compiling/installing gcc, I see the following directories in the ${PREFIX}/lib/gcc-lib/arm-elf/3.2.2/ dir:
arm thumb
but there is no "soft" directory... Why?
Hugo.
--
===================================
Hugo Villeneuve
hugovil@videotron.ca
http://pages.infinit.net/hugovil/
===================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-21 3:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-29 6:05 arm and -msoft-float Michael Butts
2003-03-21 7:45 Hugo Villeneuve
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).