Re: Using canned pcre
Re: Using canned pcre
- Subject: Re: Using canned pcre
- From: Fritz Anderson <email@hidden>
- Date: Tue, 19 Aug 2014 13:54:00 -0500
On Aug 19, 2014, at 12:51 AM, Philip Prindeville <email@hidden> wrote:
>
> I want to use the libpcre that comes on the system, but can’t because there doesn’t seem to be the corresponding <pcre.h> in the Xcode headers.
>
> How do other people work-around this oversight?
$ locate pcre | less # I enable locate indexing; I’m the only one on that machine
shows me that pcre.h appears only in my /usr/local, my Homebrew cellar, and embedded in applications. Not in /usr/include and not in the shadow /usr tree in the Xcode application, so you’re right: Xcode isn’t going to find it.
I wouldn’t chance bringing in my own pcre.h in hopes of its matching /usr/lib/libpcre.* . You might care to experiment, but if Apple isn't comfortable exposing it as API (which would _not_ be an oversight), I wouldn't be comfortable. I won’t imagine the licensing issues that might or might not prevail.
Filing a radar (bugreport.apple.com) asking that the header be exposed would be your option on the Apple end, but it wouldn’t be useful in the short run.
Is “the libpcre that comes on the system” of the essence to your problem?
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden