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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <06c701c18f91$7d38d130$0200a8c0@lifelesswks> From: "Robert Collins" To: "Ralf Habacker" , References: <000d01c18f90$c37bfd30$0e6307d5 AT BRAMSCHE> Subject: Re: duplicate regexec/regcomp functions detected Date: Fri, 28 Dec 2001 22:19:16 +1100 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] ----- 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/