delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Endianess not declared |
Date: | Sun, 14 Jan 2007 15:33:36 -0000 |
Message-ID: | <012301c737f1$5bbf05c0$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <eodh10$ev1$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 14 January 2007 15:08, Kovarththanan Rajaratnam wrote: > 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!!' That's odd. I'm guessing 'sparse' is some kind of source code parser? For whatever reason, the version of ieeefp.h in my cygwin installation doesn't include any related #warning or #error. Is sparse somehow generating that itself? > 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? Not all built-in #defines come from the specs. For the canonical list of built-in definitions, which vary slightly between C and C++, use: gcc -x c -E -dM - < /dev/null g++ -x c++ -E -dM - < /dev/null 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |