This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: _regcmp where is regular expression library?
- From: Elfyn McBratney <elfyn-cygwin at sickpuppy dot co dot uk>
- To: Robert Bercik <robertjbercik at yahoo dot com>, cygwin at cygwin dot com
- Date: Mon, 6 Jan 2003 22:00:39 -0800 (PST)
- Subject: Re: _regcmp where is regular expression library?
- Reply-to: cygwin at cygwin dot com
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@exposure.org.uk
--- Robert Bercik <robertjbercik@yahoo.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@yourchoice.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/