Updated README.txt for VS9
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 9 Nov 2010 01:50:11 +0000 (09:50 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 9 Nov 2010 01:50:11 +0000 (09:50 +0800)
build/win32/vs9/README.txt

index 43f1334..9a96616 100644 (file)
@@ -7,12 +7,25 @@ the .in files needed, mainly config.h.win32.in into config.h.win32 and
 glibconfig.h.win32.in into glibconfig.h.win32. You will also need to\r
 expand the .vcprojin files here into .vcproj files.\r
 \r
-The only external dependency is proxy-libintl. Fetch the latest\r
-proxy-libintl-dev zipfile from\r
+The required dependencies are zlib and proxy-libintl. Fetch the latest\r
+proxy-libintl-dev and zlib-dev zipfiles from\r
 http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ for 32-bit\r
 builds, and correspondingly\r
 http://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ for 64-bit\r
-builds. Set up the source tree as follows under some arbitrary top\r
+builds. \r
+\r
+One may optionally use his/her own PCRE installation by selecting the\r
+(BuildType)_ExtPCRE configuration, but please note the PCRE must be built\r
+with VS9 with unicode support using the /MD (release) or /MDd (debug)\r
+runtime option which corresponds to your GLib build flavour (release, debug).\r
+(These are the defaults set by CMAKE, which is used in recent versions of PCRE.)\r
+Not doing so will most probably result in unexpected crashes in \r
+your programs due to the use of different CRTs.  If using a static PCRE\r
+build, add PCRE_STATIC to the "preprocessor definitions".\r
+Note that one may still continue to build with the bundled PCRE by selecting\r
+the (BuildType) configuration.\r
+\r
+Set up the source tree as follows under some arbitrary top\r
 folder <root>:\r
 \r
 <root>\glib\<this-glib-source-tree>\r
@@ -36,3 +49,4 @@ project files higher in the stack are supposed to look for them, not
 from a specific GLib source tree.\r
 \r
 --Tor Lillqvist <tml@iki.fi>\r
+--Updated by Chun-wei Fan <fanc999@gmail.com>\r