From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15010 invoked by alias); 28 Jun 2006 16:27:55 -0000 Received: (qmail 14989 invoked by uid 22791); 28 Jun 2006 16:27:54 -0000 X-Spam-Check-By: sourceware.org Received: from intranet.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.6) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Jun 2006 16:27:52 +0000 Received: (qmail 18710 invoked from network); 28 Jun 2006 16:27:50 -0000 Received: from unknown (HELO localhost) (carlos@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jun 2006 16:27:50 -0000 Date: Wed, 28 Jun 2006 16:27:00 -0000 From: Carlos O'Donell To: Marco Trudel Cc: gcc-help@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues] Message-ID: <20060628162557.GE2179@lios> References: <44A0F836.7060106@gmx.ch> <44A24588.6000907@gmx.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44A24588.6000907@gmx.ch> User-Agent: Mutt/1.5.11+cvs20060126 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00258.txt.bz2 On Wed, Jun 28, 2006 at 11:02:00AM +0200, Marco Trudel wrote: > Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems > to break cross-compiling for windows, see attached forwarded message. > >Ok, next Problem: > >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error: > >'__FLT_HAS_DENORM__' was not declared in this scope > >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error: > >'__DBL_HAS_DENORM__' was not declared in this scope > >$GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error: > >'__LDBL_HAS_DENORM__' was not declared in this scope > > > >Here I'm stuck because I'm unable to find the defining header or source > >file for these constants... Any ideas? The values of these definitions are computed by the compiler in gcc/c-cppbuiltins.c (c_cpp_builtins). Can you provide preprocessed source without macro expansion? I'm curious why a Windows hosted toolchain doesn't call c_cpp_builtins. Cheers, Carlos. -- Carlos O'Donell CodeSourcery carlos@codesourcery.com (650) 331-3385 x716