This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Printf and "unsigned long long"
- From: "Franzi Edo." <edo dot franzi at ukos dot ch>
- To: newlib at sourceware dot org
- Date: Fri, 18 May 2007 16:31:36 +0200
- Subject: Printf and "unsigned long long"
Hi,
I tried to use printf in a cross 68k machine. The print "unsigned
long long" seems not to work.
unsigned long long a = 0x0123456789ABCDEFLL;
printf("%ll", a) gives as a result 0
Any advises?
My configuration:
TARGET=m68k-elf
BINUTILS_VER=2.17.50
GCC_VER=4.2.0
NEWLIB_VER=1.15.0
Regards
Edo.