This is the mail archive of the
mailing list for the newlib project.
Re: using sprintf for 64-bit integers
On your configure, specify --enable-newlib-io-long-long
This presumes that the long long type is supported by the platform.::::
-- Jeff J.
Fernando Ramos wrote:
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
./configure xxxx xx
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?
Senior Software Engineer