X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Kovarththanan Rajaratnam <krj@rajaratnam.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@sea.gmane.org> <010901c73a59$b19ac8c0$a501a8c0@CAM.ARTIMI.COM> <eov2lc$7k2$1@sea.gmane.org> <007901c73d2b$64156400$a501a8c0@CAM.ARTIMI.COM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

