[Box Backup-commit] COMMIT r2868 - box/trunk/docs/api-notes
subversion at boxbackup.org
subversion at boxbackup.org
Tue Mar 1 00:31:31 GMT 2011
Author: chris
Date: 2011-03-01 00:31:31 +0000 (Tue, 01 Mar 2011)
New Revision: 2868
Modified:
box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
Log:
Instruct to build PCRE with shared libs disabled, to avoid dependency
on DLL in a directory not in the path.
Modified: box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt
===================================================================
--- box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt 2011-02-28 00:19:21 UTC (rev 2867)
+++ box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt 2011-03-01 00:31:31 UTC (rev 2868)
@@ -68,10 +68,16 @@
cd pcre-8.12
export CFLAGS="-mno-cygwin"
export CXXFLAGS="-mno-cygwin"
- ./configure --prefix=/usr/i686-pc-mingw32
+ ./configure --prefix=/usr/i686-pc-mingw32 --disable-shared
make
make install
+Note: we must disable shared libraries on Windows because otherwise
+libpcreposix.a is built to depend on libpcre.dll, even if you define
+PCRE_STATIC, and since /usr/i686-pc-mingw32/bin (the location of the DLL)
+is not normally on the PATH, the DLL can't be found, which stops you
+from running any executables.
+
== Readline (Optional) ==
Readline enables editing and completion of commands in bbackupquery.
More information about the Boxbackup-commit
mailing list