Endianess not declared

Kovarththanan Rajaratnam krj@rajaratnam.dk
Fri Jan 26 16:09:00 GMT 2007


Hi,

Dave Korn wrote:
> 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?

Yeah, now I got one step further. Thanks.

-- 
Best Regards
Kovarththanan Rajaratnam


--
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