From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28251 invoked by alias); 28 Dec 2001 11:19:10 -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 Received: (qmail 28223 invoked from network); 28 Dec 2001 11:19:07 -0000 Received: from unknown (HELO itdomain003.itdomain.net.au) (203.63.157.208) by sources.redhat.com with SMTP; 28 Dec 2001 11:19:07 -0000 Received: from lifelesswks ([144.137.125.79]) by itdomain003.itdomain.net.au with Microsoft SMTPSVC(5.0.2195.3779); Fri, 28 Dec 2001 22:19:06 +1100 Message-ID: <06c701c18f91$7d38d130$0200a8c0@lifelesswks> From: "Robert Collins" To: "Ralf Habacker" , References: <000d01c18f90$c37bfd30$0e6307d5@BRAMSCHE> Subject: Re: duplicate regexec/regcomp functions detected Date: Fri, 28 Dec 2001 05:22:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 28 Dec 2001 11:19:06.0458 (UTC) FILETIME=[768593A0:01C18F91] X-SW-Source: 2001-12/txt/msg01229.txt.bz2 ----- Original Message ----- From: "Ralf Habacker" > > >gcc -o test -lpthread main.o [-lcygwin] > > > > > >This will result in multiple defined symbols for WinMain (expected that > > >main.o contains a main function). You can say don't do this, but what > > >about bigger packages like qt. The qt configuring process does only > > >allow like the above link line. > > > > The above link line makes no sense. It is wrong. It should be > > corrected. > > > May be, but I think you know some combinations that are real. what is with this ? > > Assume main.o needs to be linked to the pcreposix lib. > > gcc -o test main.o -lpthread -lpcreposix Don't use -lpthread. Chris, can we please trash this symlink? Rob -- 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/