X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Kovarththanan Rajaratnam Subject: Endianess not declared Date: Sun, 14 Jan 2007 16:08:20 +0100 Lines: 21 Message-ID: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/