Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <06c701c18f91$7d38d130$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Ralf Habacker" <Ralf.Habacker@freenet.de>, <cygwin@cygwin.com>
References: <000d01c18f90$c37bfd30$0e6307d5@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" <Ralf.Habacker@freenet.de>

> > >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/

