delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/26/11:10:20

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Kovarththanan Rajaratnam <krj AT rajaratnam DOT dk>
Subject: Re: Endianess not declared
Date: Fri, 26 Jan 2007 17:09:18 +0100
Lines: 31
Message-ID: <epd937$mjg$1@sea.gmane.org>
References: <eolkbj$vs4$1 AT sea DOT gmane DOT org> <010901c73a59$b19ac8c0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <eov2lc$7k2$1 AT sea DOT gmane DOT org> <007901c73d2b$64156400$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
In-Reply-To: <007901c73d2b$64156400$a501a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019