Re: [pcre-dev] how to build it with mingw 4.6.1 ?

Top Page
Delete this message
Author: Valts Silaputnins
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] how to build it with mingw 4.6.1 ?

Thank you very much for response, it indeed turned out to be a stack
issue. I rebuilt it with -Wl,--stack,16777216 and problem went away. I
was just kind of expecting for default tests to work and ./configure to
pick appropriate flags for built in tests.

Philip Hazel said the following on 9/12/2011 18:56:
>
> I suspect this may just be PCRE running out of stack. This is a
> perennial problem, expecially on Windows systems. Please read the
> "pcrestack" documentation page for more information. Also try
> --disable-stack-for-recursion when building ... this makes it use the
> heap instead, but it runs more slowly. See also the section "STACK SIZE
> IN WINDOWS ENVIRONMENTS" in the NON-UNIX-USE file.
>
> Philip
>