delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/07/02:14:48

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
Mime-Version: 1.0
Date: Mon, 6 Jan 2003 22:00:39 -0800 (PST)
From: Elfyn McBratney <elfyn-cygwin AT sickpuppy DOT co DOT uk>
To: Robert Bercik <robertjbercik AT yahoo DOT com>, cygwin AT cygwin DOT com
Subject: Re: _regcmp where is regular expression library?
Reply-To: cygwin AT cygwin DOT com
X-Originating-Ip: [195.92.67.68]
Message-Id: <20030107060039.BC84FE4B8@sitemail.everyone.net>

Hi,

What you'll be needing is the regcomp() routine:

  extern int regcomp(regex_t *, const char *, int);

The regexp routines (reg{comp,error,exec,free}) are built into cygwin
(posix_reg*) so you don't need to link in with an additional library.

Elfyn
elfyn AT exposure DOT org DOT uk

--- Robert Bercik <robertjbercik AT yahoo DOT com> wrote:
>I am trying to build an app which uses the function
>regcmp(). But during the link phase, it can't seem to
>find regcmp(). I know on unix it links to -lgen, but
>what do I need to link to on cygwin. 
>
>
>Thanks in advance,
>-Rob
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>
>--
>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/

_____________________________________________________________
www.smokeJet.com - Free UK Internet Services

_____________________________________________________________
Select your own custom email address for FREE! Get you AT yourchoice DOT com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

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