This is the mail archive of the newlib@sources.redhat.com 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]

Re: INTEGER_ONLY (macro)?


Toralf Lund wrote:
Can someone please remind me, what happens when I define INTEGER_ONLY during newlib build? I have set this flag in an old build setup, but I've forgotten what exactly it does, and it's not easy to understand it directly from the sources. It has something to do with printf(), but...

- Toralf


Toralf,


This flag is used internally to build vfiprintf and _vfiprintf_r from vfprintf.c. As you probably know, they are the versions of printf that do not support floating-point and thus have a smaller size footprint when linked in. If one wants to make vfprintf and _vfprintf_r equivalent to vifprintf and _vfiprintf_r so application code doesn't have to change, there is the configuration option: --disable-newlib-io-float.

-- Jeff J.


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