[Privoxy-devel] todo 166: windows current pcre library

Lee ler762 at gmail.com
Sun Dec 20 22:01:54 UTC 2020


On 12/20/20, Fabian Keil <fk at fabiankeil.de> wrote:
> Lee <ler762 at gmail.com> wrote on 2020-12-18:
>
>> I got privoxy to build without the static pcre library.
>
> Great.
>
>> I don't understand what's going on, but "-lpcre" fails with "-static"
>>
>> $ i686-w64-mingw32-gcc -o a.exe -static conftest-pcre.c -lpcreposix
>> -lpcre
>> /usr/lib/gcc/i686-w64-mingw32/10/../../../../i686-w64-mingw32/bin/ld:
>> cannot find -lpcreposix
>> /usr/lib/gcc/i686-w64-mingw32/10/../../../../i686-w64-mingw32/bin/ld:
>> cannot find -lpcre
>> collect2: error: ld returned 1 exit status
>
> Are static libraries for pcre available?

Right now, as a part of the cygwin distro?  No - they were built as
shared libraries only.  I'd have to build them from source

Another surprise is that the cygwin mingw64-i686-pcre package has been
orphaned.  The latest version is 8.40
  https://cygwin.com/cgi-bin2/package-grep.cgi?grep=mingw64-i686-pcre&arch=x86_64

If I can figure out cygport I'll see if I can adopt the package and
get the current mingw64-i686 pcre v8.44 included with cygwin. (and
built with both shared & static libraries)

Lee


More information about the Privoxy-devel mailing list