X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Kovarththanan Rajaratnam <krj@rajaratnam.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
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

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/

