This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
using sprintf for 64-bit integers
- From: Fernando Ramos <FRamos at hypercom dot com>
- To: newlib at sources dot redhat dot com
- Date: Wed, 26 Jan 2005 10:04:09 -0700
- Subject: using sprintf for 64-bit integers
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.