This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libibery regex
- To: DJ Delorie <dj at redhat dot com>
- Subject: Re: libibery regex
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Tue, 10 Jul 2001 21:35:13 -0700
- Cc: jjohnstn at redhat dot com, gcc-patches at gcc dot gnu dot org, binutils at sources dot redhat dot com, gdb at sources dot redhat dot com
- Organization: The NUXI BSD group
- References: <200107091924.PAA15845@greed.delorie.com> <3B4B2F4C.257185A8@cygnus.com> <200107101645.MAA08773@greed.delorie.com> <3B4B4E2F.3DEFD9E7@cygnus.com> <200107110022.UAA30714@greed.delorie.com>
- Reply-To: obrien at FreeBSD dot org
On Tue, Jul 10, 2001 at 08:22:42PM -0400, DJ Delorie wrote:
> To all: If you want GNU regex (from glibc, and I will strive to keep
> it in sync), just include "xregex.h" in your source and libiberty will
> provide you with it. No need to do anything special, as xregex
> #defines all the usual names (regcmp, etc) to "x" names (xregcmp,
> etc).
I don't quite understand the need of this. What is wrong with using
native regex libs (if they exist). This makes it sound like this version
would always be used -- adding to code bloat.
--
-- David (obrien@FreeBSD.org)