exception handling poll
meissner@cygnus.com
meissner@cygnus.com
Sun Oct 19 08:27:00 GMT 1997
| On Sat, 18 Oct 1997 meissner@cygnus.com wrote:
|
| > Also, if you are using a newlib based printf, note there are the functions:
| >
| > iprintf
| > fiprintf
| > siprintf
| > viprintf
| > vfiprintf
| > vsiprintf
| >
| > that do not include any floating point support (which also cuts down on the
| > size).
|
| I have resisted using the integer versions since they are non-standard. I
| suppose that there is actually justification for using them in this case
| though. RTEMS is pretty much in bed with newlib these days. :)
You could always do it via #defines (#define printf iprintf), either via the
Makefile, or in a header file. You should make sure they get definitions,
including the format attribute, since some ABI's use a different calling
sequence for ... functions.
More information about the Gcc
mailing list