This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
The best way to disable floating-point support
- From: "R. Diez" <rdiezmail-newlib at yahoo dot de>
- To: newlib at sources dot redhat dot com
- Date: Wed, 29 Jun 2011 14:36:00 +0100 (BST)
- Subject: The best way to disable floating-point support
- Reply-to: rdiezmail-newlib at yahoo dot de
Hi there:
I'm trying to port an embedded PowerPC application from a proprietary compiler with its own proprietary C run-time library to GCC 4.5.3 + newlib 1.19.0 .
What's the best way to completely disable floating-point support in newlib? With the proprietary compiler, if I inadvertently tried to use some floating-point routine like atof(), I got linker errors. With GCC/newlib, it just seems to use the software emulation without warning, making the resulting binary bigger.
Please copy me on the reply, as I'm not subscribed to this list.
Many thanks,
R. Diez