delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/14/10:08:55

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Kovarththanan Rajaratnam <krj AT rajaratnam DOT dk>
Subject: Endianess not declared
Date: Sun, 14 Jan 2007 16:08:20 +0100
Lines: 21
Message-ID: <eodh10$ev1$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hello

I've just given Sparse [1] a try on Cygwin and compiling it went without 
any hassle. However, trying it on a very simple example (which includes 
stdio.h) seems to fail in 'ieeefp.h' due to 'Endianess not declared!!'

I assume this is due to some #define's not being set properly. In order 
to track down these needed #defines I used the GCC specification info 
(-dumpspecs) and I was able to find these defines: -D__CYGWIN32__ 
-D__CYGWIN__ -Dunix -D__unix__ -D__unix. However that still doesn't seem 
enough. What else am I missing?

Btw, the verssion of GCC I got the defines from is v3.4.4.

Thanks.

[1] http://www.codemonkey.org.uk/projects/git-snapshots/sparse/

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