Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 CC: cygwin AT cygwin DOT com Subject: Re: Mysterious g++ link problems References: <42D51FEA DOT 8040204 AT familiehaase DOT de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/