This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _regcmp where is regular expression library?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]