Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Date: Mon, 6 Jan 2003 22:00:39 -0800 (PST) From: Elfyn McBratney To: Robert Bercik , 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 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/