| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Thu, 11 Jul 2002 17:15:51 +0200 |
| From: | Pavel Tsekov <ptsekov AT syntrex DOT com> |
| Reply-To: | Pavel Tsekov <cygwin AT cygwin DOT com> |
| Organization: | Syntrex, Inc. |
| X-Priority: | 3 (Normal) |
| Message-ID: | <11429391662.20020711171551@syntrex.com> |
| To: | cygwin AT cygwin DOT 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 DOT GA3292 AT redhat DOT com> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |