delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/28/06:19:47

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <06c701c18f91$7d38d130$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>, <cygwin AT cygwin DOT com>
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
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 DOT Habacker AT freenet DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019