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: using sprintf for 64-bit integers


Fernando,

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

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.



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