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]

The best way to disable floating-point support


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


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