On 08/09/2013 09:25 AM, Eric Blake wrote: > Still need more information. What does this do when compiled with your > cross-compiler, then run on the target? > > #include <stdio.h> > #include <limits.h> > #include <stdint.h> > int main(void) { > printf("%zu %zu %zu %zu\n", sizeof(short), sizeof(int), sizeof(long), > sizeof(long long)); > printf("
Apologies for pasting an incomplete version (serves me right for using xclip on the file rather than copying what was in my editor). I meant that line to be: printf ("%x %x %x %x\n", INT_MIN, INT32_MIN, INT_MAX, INT32_MAX); -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature