Hi Zoltan,
thank you very much for the detailed information.
Since these type of work (i.e. building and compiling) is really out of
my current knowledge I will try to rely on pre-compiled files.
With respect to this I had some feedback from GnuWin32 mailing list.
They suggested me to trypcregrepversion 8.12 from last year:
http://sourceforge.net/projects/getgnuwin32/files/getgnuwin32/test%20builds/regexp_lib_PCRE_8.12_binaries_and_devel.zip/download
It was made as a test build but there wasn't any demand for it so that's
why it was not easily reachable(for me)from the GnuWin32 packages list.
I tried this version and everything works now.
I then asked to the GnuWin32 list if they are willing to create a new
updated pcre package (which will contain updated pcregrep).
Thank you once more
Kind Regards
Emanuele
Il 02/08/2012 06:44, Zoltán Herczeg ha scritto:
> Hi,
>
> 7.0 is really old. We do not support it anymore.
>
>> Could you help me in trying to update pcregrep on my Windows system?
> I am not a Windows expert myself, but with cmake and mingw (+make) it is easy to build it. Cygwin probably works as well.
>
> You can find mingw related things here:
> http://sourceforge.net/projects/mingw/files/
>
> GCC:
> http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/
>
> There are some installers there, I have never tried them. I just downloaded the usual components (binutils, libc, etc.) until the the compiler is finally able to compile a hello world.
>
> make utility is also important:
> http://sourceforge.net/projects/mingw/files/MSYS/Base/
>
> CMake is available here:
> http://www.cmake.org/
>
> Download it as well.
>
> This command configures PCRE from its root directory if everything is available in the PATH:
>
> cmake -G "MinGW Makefiles" . -DCMAKE_C_FLAGS:STRING=-Wl,--stack,16777216 -DPCRE_BUILD_PCRE16=ON -DPCRE_BUILD_PCRE8=ON -DPCRE_SUPPORT_JIT=ON -DPCRE_SUPPORT_UNICODE_PROPERTIES=ON
>
> And a simple "make" command builds it.
>
> Testing: make test
> Detailed build process: make VERBOSE=1
>
> Regards,
> Zoltan
>