This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: floating point functions returning bogus results on ARM target?
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Wed, 03 Mar 2010 09:26:30 +0100
- Subject: Re: floating point functions returning bogus results on ARM target?
- References: <BLU0-SMTP78D0F2281BE3D4EDED019F9440@phx.gbl>
Hi,
I guess you use the FPA floating point model. This will not work with Newlib.
Use VFP instead (-mfloat-abi=soft -mfpu=vfp).
CU
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.