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: Sun, 2 Nov 2003 16:08:42 +0100 From: "Gerrit P. Haase" <gp AT familiehaase DOT de> Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com> Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <140881953562.20031102160842@familiehaase.de> To: "Alex Vinokur" <alexvn AT connect DOT to> CC: "Gerrit @ cygwin" <cygwin AT cygwin DOT com> Subject: Re: STLport with the Cygwin/MinGW compiler In-Reply-To: <38880681633.20031102154730@familiehaase.de> References: <bnr72n$li9$1 AT sea DOT gmane DOT org> <157-1772867639 DOT 20031030154714 AT familiehaase DOT de> <bntl4h$jci$1 AT sea DOT gmane DOT org> <43-1680745334 DOT 20031031172236 AT familiehaase DOT de> <bnuacn$6iu$1 AT sea DOT gmane DOT org> <118743930094 DOT 20031101014819 AT familiehaase DOT de> <bnvmhe$um1$1 AT sea DOT gmane DOT org> <bo00lr$baj$1 AT sea DOT gmane DOT org> <75783230946 DOT 20031101124319 AT familiehaase DOT de> <bo13h2$am9$1 AT sea DOT gmane DOT org> <46863102485 DOT 20031102105431 AT familiehaase DOT de> <bo2vav$o98$1 AT sea DOT gmane DOT org> <38880681633 DOT 20031102154730 AT familiehaase DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo Alex, >>> Since libstdc++ is also static, it will be a fair race if both >>> times the static archive is used. >> libstlport_cygwin.a works fine. >> I tried to do the same thing with mingw. > [...] >> c++ -shared -o ... > This is wrong, you must also link with -mno-cygwin flag to get the > right libstdc++ in /usr/lib/mingw. > Add it to DYN_LINK: > DYN_LINK=c++ -mno-cygwin -shared -o > However, the link to the static archive also fails, maybe because the > MinGW version of gcc was built without --disable-nls? Wanted to say: ^^^^^^^ with --disable-nls 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/