Endianess not declared

Dave Korn dave.korn@artimi.com
Sun Jan 21 07:11:00 GMT 2007

On 21 January 2007 06:54, Kovarththanan Rajaratnam wrote:

> It seems I got things mixed up. The ieeefp.h that was apparently
> included is located in /usr/include/machine/ieeefp.h and not
> usr/include/ieeefp.h.

  Got it, I see now.  Well, this clause should fire:

/tmp $ cat -n /usr/include/machine/ieeefp.h  | grep -A3 i386
   120  #ifdef __i386__
   121  #define __IEEE_LITTLE_ENDIAN
   122  #endif

because of this built-in define from the compiler:

/tmp $ gcc -x c -E -dM - < /dev/null | grep 386
#define __i386 1
#define i386 1
#define __i386__ 1

so giving sparse those extra list of defines should do the job, no?

Can't think of a witty .sigline today....

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list