/[pcre]/code/trunk/NON-UNIX-USE
ViewVC logotype

Diff of /code/trunk/NON-UNIX-USE

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 145 by ph10, Wed Apr 4 14:06:52 2007 UTC revision 146 by ph10, Thu Apr 5 09:17:28 2007 UTC
# Line 157  The Cygwin home page (http://www.cygwin. Line 157  The Cygwin home page (http://www.cygwin.
157  On both MinGW and Cygwin, PCRE should build correctly using:  On both MinGW and Cygwin, PCRE should build correctly using:
158    
159    ./configure && make && make install    ./configure && make && make install
160    
161  However, if you want to statically link your program against the .a file, you  This should create two libraries called libpcre and libpcreposix, and, if you
162  must define PCRE_STATIC before including pcre.h, otherwise the pcre_malloc()  have enabled building the C++ wrapper, a third one called libpcrecpp.
163  and pcre_free() exported functions will be declared __declspec(dllimport), with  
164    If you want to statically link your program against a non-dll .a file, you must
165    define PCRE_STATIC before including pcre.h, otherwise the pcre_malloc() and
166    pcre_free() exported functions will be declared __declspec(dllimport), with
167  unwanted results.  unwanted results.
168    
169  Using Cygwin's compiler generates libraries and executables that depend on  Using Cygwin's compiler generates libraries and executables that depend on

Legend:
Removed from v.145  
changed lines
  Added in v.146

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12