using sprintf for 64-bit integers

Fernando Ramos FRamos@hypercom.com
Wed Jan 26 17:01:00 GMT 2005





I'm trying to build newlib for xscale-elf target and I need that sprintf can deal with 64-bit
integers. From a look at the code I gather that I need to #define WANT_PRINTF_LONG_LONG.
What I'm doing at the command prompt is:

$ export WANT_PRINTF_LONG_LONG=1

and then
./configure xxxx  xx
make

As I'm not getting what I need I assume this is not the right way to do things. Can somebody give me
a hint here?


Fernando Ramos
Senior Software Engineer
Hypercom Corp.



More information about the Newlib mailing list