/[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 144 by ph10, Mon Apr 2 13:32:07 2007 UTC revision 155 by ph10, Tue Apr 24 13:36:11 2007 UTC
# Line 29  library consists entirely of code writte Line 29  library consists entirely of code writte
29  successfully on any system that has a Standard C compiler and library. The C++  successfully on any system that has a Standard C compiler and library. The C++
30  wrapper functions are a separate issue (see below).  wrapper functions are a separate issue (see below).
31    
32  The PCRE distribution contains some experimental support for "cmake", but this  The PCRE distribution contains some experimental support for "cmake", but this
33  is incomplete and not documented. However if you are a "cmake" user you might  is incomplete and not documented. However if you are a "cmake" user you might
34  like to try building with "cmake".  like to try building with "cmake".
35    
36    
# Line 127  for use with VP/Borland: makevp_c.txt, m Line 127  for use with VP/Borland: makevp_c.txt, m
127    
128  COMMENTS ABOUT WIN32 BUILDS  COMMENTS ABOUT WIN32 BUILDS
129    
130  There are two ways of building PCRE using the "congifure, make, make install"  There are two ways of building PCRE using the "congifure, make, make install"
131  paradigm on Windows systems: using MinGW or using Cygwin. These are not at all  paradigm on Windows systems: using MinGW or using Cygwin. These are not at all
132  the same thing; they are completely different from each other. There is also  the same thing; they are completely different from each other. There is also
133  some experimental, undocumented support for building using "cmake", which you  some experimental, undocumented support for building using "cmake", which you
134  might like to try if you are familiar with "cmake". However, at the present  might like to try if you are familiar with "cmake". However, at the present
135  time, the "cmake" process builds only a static library (not a dll), and the  time, the "cmake" process builds only a static library (not a dll), and the
136  tests are not automatically run.  tests are not automatically run.
137    
# Line 158  On both MinGW and Cygwin, PCRE should bu Line 158  On both MinGW and Cygwin, PCRE should bu
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
# Line 189  gcc and MinGW's gcc). So, a user can: Line 192  gcc and MinGW's gcc). So, a user can:
192    
193  The test files that are supplied with PCRE are in Unix format, with LF  The test files that are supplied with PCRE are in Unix format, with LF
194  characters as line terminators. It may be necessary to change the line  characters as line terminators. It may be necessary to change the line
195  terminators in order to get some of the tests to work. We hope to improves  terminators in order to get some of the tests to work. We hope to improve
196  things in this area in future.  things in this area in future.
197    
198    
# Line 271  $!   Locale could not be set to fr Line 274  $!   Locale could not be set to fr
274  $!  $!
275  =========================  =========================
276    
277  Last Updated: 26 March 2007  Last Updated: 24 April 2007
278  ****  ****

Legend:
Removed from v.144  
changed lines
  Added in v.155

  ViewVC Help
Powered by ViewVC 1.1.5