From 280666ed3864e137860fba191d11dab731ee0bad Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 7 Jan 2012 23:42:15 +0000 Subject: [PATCH] Add PCRE build instructions to Windows build instructions git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12894 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Doc/Manual/Windows.html | 12 ++++++++++++ Tools/pcre-build.sh | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Doc/Manual/Windows.html b/Doc/Manual/Windows.html index da8a5d6bf..6349f355a 100644 --- a/Doc/Manual/Windows.html +++ b/Doc/Manual/Windows.html @@ -313,6 +313,18 @@ If you want to check out SWIG to a different folder to the proposed the autotools will fail miserably on those. +
  • +The PCRE third party library needs to be built next. +Download the latest PCRE source tarball, such as pcre-8.10.tar.bz2, from +PCRE and place in the /usr/src/swig directory. +Build PCRE as a static library using the Tools/pcre-build.sh script as follows: + +
    +cd /usr/src/swig
    +Tools/pcre-build.sh
    +
    +
  • +
  • You are now ready to build SWIG. Execute the following commands to build swig.exe:
    diff --git a/Tools/pcre-build.sh b/Tools/pcre-build.sh
    index 2d991ceba..68ffe0b03 100755
    --- a/Tools/pcre-build.sh
    +++ b/Tools/pcre-build.sh
    @@ -14,7 +14,8 @@ usage() {
       echo "  - Download the latest PCRE source tarball from http://www.pcre.org and place in the"
       echo "    directory that you will configure and build SWIG."
       echo "  - Run this script in the same directory that you intend to configure and build SWIG in."
    -  echo "  - Afterwards run the SWIG configure scrip which will then find and use the PCRE static"
    +  echo "    This will configure and build PCRE as a static library."
    +  echo "  - Afterwards run the SWIG configure script which will then find and use the PCRE static"
       echo "    libraries in the $pcre_subdir subdirectory."
       exit 0
     }