This is the mail archive of the cygwin mailing list for the Cygwin 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: Endianess not declared


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
   123

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?

    cheers,
      DaveK
-- 
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/


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