From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18087 invoked by alias); 28 Jun 2006 09:02:10 -0000 Received: (qmail 18068 invoked by uid 22791); 28 Jun 2006 09:02:08 -0000 X-Spam-Check-By: sourceware.org Received: from mxout.hispeed.ch (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Jun 2006 09:02:06 +0000 Received: from [192.168.0.189] (80-218-120-21.dclient.hispeed.ch [80.218.120.21]) by smtp.hispeed.ch (8.12.11.20060308/8.12.6/taifun-1.0) with ESMTP id k5S91vBR032655 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 28 Jun 2006 11:01:57 +0200 Message-ID: <44A24588.6000907@gmx.ch> Date: Wed, 28 Jun 2006 09:02:00 -0000 From: Marco Trudel User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) MIME-Version: 1.0 To: "Carlos O'Donell" 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] References: <44A0F836.7060106@gmx.ch> In-Reply-To: <44A0F836.7060106@gmx.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Status: Clean X-DCC-spamcheck-01.tornado.cablecom.ch-Metrics: smtp-06.tornado.cablecom.ch 1377; Body=3 Fuz1=3 Fuz2=3 X-IsSubscribed: yes 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/msg00248.txt.bz2 Hello Carlos Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems to break cross-compiling for windows, see attached forwarded message. regards Marco Marco Trudel wrote: > Hi list > > I run into errors trying to compile the current subversion state. I > compile with this command: > > cd $GCC_BUILD_DIR > $GCC_SRC_DIR/configure --prefix=$GCC_OUT_DIR \ > --build=`$GCC_SRC_DIR/config.guess` --host=i686-pc-mingw32 > --target=i686-pc-mingw32 \ > --with-sysroot=$GCC_OUT_DIR/sys-root > --with-build-sysroot=$GCC_OUT_DIR/sys-root \ > --enable-languages=c,c++,java \ > --with-as=$AS --with-ld=$LD --with-gcj=i686-pc-mingw32-gcj\ > --with-gnu-as --with-gnu-ld \ > --disable-nls --disable-debug --disable-shared --disable-checking \ > --enable-threads=win32 --disable-win32-registry > --enable-sjlj-exceptions \ > --enable-libgcj > make > > My compiler is a gcc 4.1.1 that compiles for i686-pc-mingw32. > > > The first problem is: > $GCC_SRC_DIR/libstdc++-v3/libsupc++/eh_personality.cc:434: error: > '_Unwind_GetIPInfo' was not declared in this scope > > Inserting #include "unwind-generic.h" before #include "unwind-cxx.h" > solves this one. Inserting it anywhere after "unwind-cxx.h", won't work. > I don't know if this is correct or not, just solves the first problem... > > 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? > > > regards > Marco > >