X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Kovarththanan Rajaratnam Subject: Re: Endianess not declared Date: Fri, 26 Jan 2007 17:09:18 +0100 Lines: 31 Message-ID: References: <010901c73a59$b19ac8c0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <007901c73d2b$64156400$a501a8c0 AT CAM DOT ARTIMI DOT COM> 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) In-Reply-To: <007901c73d2b$64156400$a501a8c0@CAM.ARTIMI.COM> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hi, Dave Korn wrote: > 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? Yeah, now I got one step further. Thanks. -- 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/