delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/21/02:12:05

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
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>
Subject: RE: Endianess not declared
Date: Sun, 21 Jan 2007 07:11:37 -0000
Message-ID: <007901c73d2b$64156400$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <eov2lc$7k2$1@sea.gmane.org>
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

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/

- Raw text -


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