[pcre-dev] Are there any examples of minimal embedded pcre (…

Top Page
Delete this message
Author: Ævar Arnfjörð Bjarmason
Date:  
To: pcre-dev
Subject: [pcre-dev] Are there any examples of minimal embedded pcre (v2)?
I'm looking into copying the pcre v2 sources into git.git as a way to
appease people that mind the dependency, i.e. having to package pcre
v2 themselves. They could then build with GIMME_YOUR_LIBPCRE2=Y or
something.

I haven't started this but was hoping to find some minimal example of
a project that does this already, i.e. compiles the pcre sources as
*.o's and creates a single executable out of them, this is how git
e.g. has a compatibility implementation of POSIX regex (copied from
the gawk sources), i.e. no dynamic linking.

The only project doing that which I could think of was php, but they
copy the entire pcre sources, I was hoping for something more minimal.
I.e. just a copy of the relevant *.[ch] files with a minimal config.h.

I can try to hack that up myself, just thought I'd ask the list if
anyone knew of existing uses like this I could learn from.