delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/13/10:29:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <42D524DE.3040908@familiehaase.de>
Date: Wed, 13 Jul 2005 16:27:42 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: David Abrahams <dave AT boost-consulting DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Mysterious g++ link problems
References: <uk6justks DOT fsf AT boost-consulting DOT com> <42D51FEA DOT 8040204 AT familiehaase DOT de> <ueka2ssb6 DOT fsf AT boost-consulting DOT com>
In-Reply-To: <ueka2ssb6.fsf@boost-consulting.com>
X-IsSubscribed: yes

David Abrahams wrote:

>>You are using the wrong libstdc++.a runtime.  Try to figure out why
>>/usr/local/gcc is using /usr/lib/gcc runtime instead of your own 
>>/usr/local/lib/gcc runtime.
> 
> 
> I'm not using /usr/local/gcc.  I assume you meant
> /usr/local/gcc=3.4.4/bin/g++?

Yes.  You're calling /usr/local/gcc-3.4.4/bin/g++.exe.  Was the runtime
also installed below /usr/local/gcc-3.4.4/... or maybe it was installed
to /usr/lib/gcc/..., then it wass clobbered by the official release.


> I'd like to try to "figure out why," but I don't know where to start
> looking.
> 
> 
>>Suggested solution: either uninstall your local build of gcc and use
>>the 'official' Cygwin gcc build or uninstall the official release.
> 
> 
> I'm happy to use the official one, but I'd still like to understand
> what happened.

Try `/usr/local/gcc-3.4.4/bin/g++.exe -print-search-dirs` or
`/usr/local/gcc-3.4.4/bin/gcc -print-search-dirs`, this gives for
the Cygwin release: libraries: =/usr/lib/gcc/i686-pc-cygwin/3.4.4/:...


Gerrit

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019