From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13565 invoked by alias); 20 Mar 2004 05:00:20 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 13269 invoked from network); 20 Mar 2004 05:00:17 -0000 Received: from unknown (HELO outgoing-mail.its.caltech.edu) (131.215.49.69) by sources.redhat.com with SMTP; 20 Mar 2004 05:00:17 -0000 Received: from earth-dog (earth-dog [192.168.1.3]) by water-ox-postvirus (Postfix) with ESMTP id 3560026AC5F for ; Fri, 19 Mar 2004 21:00:17 -0800 (PST) Received: from earth-ox ([192.168.1.9]) by earth-dog (MailMonitor for SMTP v1.2.2 ) ; Fri, 19 Mar 2004 21:00:16 -0800 (PST) Received: from northwood (northwood.caltech.edu [131.215.159.60]) by earth-ox.its.caltech.edu (Postfix) with ESMTP id 5A7E8109A66 for ; Fri, 19 Mar 2004 21:00:16 -0800 (PST) Reply-To: From: "Stephan T. Lavavej" To: "GCC" Subject: Re: Failure crossing gcc 3.3.3 from GNU/Linux to MinGW Date: Sat, 20 Mar 2004 13:59:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20040320050016.5A7E8109A66@earth-ox.its.caltech.edu> X-Spam-Status: No, hits=0.0 tagged_above=-100000.0 required=5.0 X-Spam-Level: X-SW-Source: 2004-03/txt/msg01204.txt.bz2 I got the cross gcc to compile by using this patch: diff -aur gcc-3.3.3-truemingw/libstdc++-v3/include/bits/char_traits.h gcc-3.3.3-truemingw-new/libstdc++-v3/include/bits/char_traits.h --- gcc-3.3.3-truemingw/libstdc++-v3/include/bits/char_traits.h 2003-10-07 18:15:05.000000000 -0700 +++ gcc-3.3.3-truemingw-new/libstdc++-v3/include/bits/char_traits.h 2004-03-19 20:26:29.000000000 -0800 @@ -181,7 +181,7 @@ }; -#if defined (_GLIBCPP_USE_WCHAR_T) || defined (_GLIBCPP_USE_WSTRING) +#if 0 /// 21.1.3.2 char_traits specializations template<> struct char_traits However, compiling the crossed-native gcc fails with: make[1]: Entering directory `/home/stl/cross/wingcc-build/gcc' TM_DEFINES="" \ HEADERS="auto-host.h ansidecl.h i386/xm-mingw32.h i386/cygming.h i386/mingw32.h defaults.h" XM_DEFINES="POSIX" \ TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \ /bin/sh /home/stl/cross/wingcc-src/gcc/mkconfig.sh config.h TM_DEFINES="" \ HEADERS="auto-build.h ansidecl.h i386/cygming.h i386/mingw32.h defaults.h" XM_DEFINES="POSIX" \ TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \ /bin/sh /home/stl/cross/wingcc-src/gcc/mkconfig.sh hconfig.h make[1]: *** No rule to make target `auto-build.h', needed by `gengenrtl.o'. Stop. make[1]: Leaving directory `/home/stl/cross/wingcc-build/gcc' make: *** [all-gcc] Error 2 Any ideas? Stephan T. Lavavej