/[pcre]/code/trunk/README
ViewVC logotype

Diff of /code/trunk/README

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

revision 260 by ph10, Thu Sep 20 10:19:16 2007 UTC revision 317 by ph10, Fri Jan 25 17:57:39 2008 UTC
# Line 119  If you are using HP's ANSI C++ compiler Line 119  If you are using HP's ANSI C++ compiler
119  in the section entitled "Using HP's ANSI C++ compiler (aCC)" below.  in the section entitled "Using HP's ANSI C++ compiler (aCC)" below.
120    
121  The following instructions assume the use of the widely used "configure, make,  The following instructions assume the use of the widely used "configure, make,
122  make install" process. There is also some experimental support for "cmake" in  make install" process. There is also support for CMake in the PCRE
123  the PCRE distribution, but it is incomplete and not documented. However, if you  distribution; there are some comments about using CMake in the NON-UNIX-USE
124  are a "cmake" user, you might want to try it.  file, though it can also be used in Unix-like systems.
125    
126  To build PCRE on a Unix-like system, first run the "configure" command from the  To build PCRE on a Unix-like system, first run the "configure" command from the
127  PCRE distribution directory, with your current directory set to the directory  PCRE distribution directory, with your current directory set to the directory
# Line 258  library. You can read more about them in Line 258  library. You can read more about them in
258    
259    This automatically implies --enable-rebuild-chartables (see above).    This automatically implies --enable-rebuild-chartables (see above).
260    
261    . It is possible to compile pcregrep to use libz and/or libbz2, in order to
262      read .gz and .bz2 files (respectively), by specifying one or both of
263    
264      --enable-pcregrep-libz
265      --enable-pcregrep-libbz2
266    
267      Of course, the relevant libraries must be installed on your system.
268    
269    . It is possible to compile pcretest so that it links with the libreadline
270      library, by specifying
271    
272      --enable-pcretest-libreadline
273    
274      If this is done, when pcretest's input is from a terminal, it reads it using
275      the readline() function. This provides line-editing and history facilities.
276      Note that libreadline is GPL-licenced, so if you distribute a binary of
277      pcretest linked in this way, there may be licensing issues.
278    
279  The "configure" script builds the following files for the basic C library:  The "configure" script builds the following files for the basic C library:
280    
281  . Makefile is the makefile that builds the library  . Makefile is the makefile that builds the library
# Line 285  script that can be run to recreate the c Line 303  script that can be run to recreate the c
303  contains compiler output from tests that "configure" runs.  contains compiler output from tests that "configure" runs.
304    
305  Once "configure" has run, you can run "make". It builds two libraries, called  Once "configure" has run, you can run "make". It builds two libraries, called
306  libpcre and libpcreposix, a test program called pcretest, a demonstration  libpcre and libpcreposix, a test program called pcretest, and the pcregrep
307  program called pcredemo, and the pcregrep command. If a C++ compiler was found  command. If a C++ compiler was found on your system, "make" also builds the C++
308  on your system, "make" also builds the C++ wrapper library, which is called  wrapper library, which is called libpcrecpp, and some test programs called
309  libpcrecpp, and some test programs called pcrecpp_unittest,  pcrecpp_unittest, pcre_scanner_unittest, and pcre_stringpiece_unittest.
310  pcre_scanner_unittest, and pcre_stringpiece_unittest. Building the C++ wrapper  Building the C++ wrapper can be disabled by adding --disable-cpp to the
311  can be disabled by adding --disable-cpp to the "configure" command.  "configure" command.
312    
313  The command "make check" runs all the appropriate tests. Details of the PCRE  The command "make check" runs all the appropriate tests. Details of the PCRE
314  tests are given below in a separate section of this document.  tests are given below in a separate section of this document.
# Line 342  system. The following are installed (fil Line 360  system. The following are installed (fil
360      pcretest.txt   the pcretest man page      pcretest.txt   the pcretest man page
361      pcregrep.txt   the pcregrep man page      pcregrep.txt   the pcregrep man page
362    
 Note that the pcredemo program that is built by "configure" is *not* installed  
 anywhere. It is a demonstration for programmers wanting to use PCRE.  
   
363  If you want to remove PCRE from your system, you can run "make uninstall".  If you want to remove PCRE from your system, you can run "make uninstall".
364  This removes all the files that "make install" installed. However, it does not  This removes all the files that "make install" installed. However, it does not
365  remove any directories, because these are often shared with other programs.  remove any directories, because these are often shared with other programs.
# Line 725  The distribution should contain the foll Line 740  The distribution should contain the foll
740  Philip Hazel  Philip Hazel
741  Email local part: ph10  Email local part: ph10
742  Email domain: cam.ac.uk  Email domain: cam.ac.uk
743  Last updated: 21 September 2007  Last updated: 25 January 2008

Legend:
Removed from v.260  
changed lines
  Added in v.317

  ViewVC Help
Powered by ViewVC 1.1.5