From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27504 invoked by alias); 11 Jul 2002 15:16:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27464 invoked from network); 11 Jul 2002 15:16:04 -0000 Received: from unknown (HELO syntrex.com) (212.239.21.178) by sources.redhat.com with SMTP; 11 Jul 2002 15:16:04 -0000 Received: (qmail 27708 invoked by uid 8); 11 Jul 2002 15:16:02 -0000 Received: from 212-41-210-71.adsl.galactica.it (212.41.210.71, claiming to be "MORDOR") by mail.syntrex.com with SMTP id smtpdpvn9L1; Thu, 11 Jul 2002 11:15:52 EDT Date: Thu, 11 Jul 2002 08:49:00 -0000 From: Pavel Tsekov Reply-To: Pavel Tsekov Organization: Syntrex, Inc. X-Priority: 3 (Normal) Message-ID: <11429391662.20020711171551@syntrex.com> To: cygwin@cygwin.com Subject: Re: Available for test: gcc-3.1.1-2 gcc2-2.95.3-8 In-Reply-To: <20020711044304.GA3292@redhat.com> References: <20020711044304.GA3292@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00938.txt.bz2 Hello Christopher, Thursday, July 11, 2002, 6:43:04 AM, you wrote: CF> Fixes in gcc2: CF> -mno-cygwin works with c++ now? I got setup.exe (2.249.2.4) to compile with that version (3.1.1-2) by making the following changes: 1. Create a symlink: lrwxrwxrwx 1 paveltz Nessuno 54 Jul 11 16:15 i686-pc-mingw32 -> /usr/ i686-pc-mingw32/include/g++-v3/mingw32 This is required because it contains the bits/ partf of libstdc++ and g++ seem to look it there. 2. Add /usr/include/mingw/g++-v3 to CXXFLAGS So finally I get this: GNU CPP version 3.1.1 20020710 (prerelease) (cpplib) (80386, BSD syntax) GNU C++ version 3.1.1 20020710 (prerelease) (i686-pc-cygwin) compiled by GNU C version 3.1.1 20020706 (prerelease). ignoring duplicate directory "/usr/i686-pc-mingw32/lib/../../include/w32api" #include "..." search starts here: #include <...> search starts here: /usr/include/mingw/g++-v3 /usr/include/w32api /usr/include/c++/3.1.1 /usr/include/c++/3.1.1/i686-pc-mingw32 /usr/include/c++/3.1.1/backward /usr/local/include /usr/lib/gcc-lib/i686-pc-cygwin/3.1.1/include /usr/i686-pc-mingw32/include /usr/include This changes and some modifications to the sources (using namespace, replacing old headers) make setup.exe build fine. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/