diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-07-26 22:05:56 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-07-26 22:05:56 +0000 |
commit | 8bc9c724d51312906be6e965b45a7bc071cfb931 (patch) | |
tree | 0211f7c63d26f89ba02b13903e7eeeeba95ae2de /docs | |
parent | 4a3627d5b883c0f66c9f2b770a427c18df51203f (diff) |
Work around the fact that we may have regex support without having
regex.h (e.g. from pcreposix.h/libpcreposix) and disabuse HAVE_REGEX_H,
define and use HAVE_REGEX_SUPPORT instead, thanks Gary!
(refs #3, merges [1677] [1678] [1679])
Diffstat (limited to 'docs')
-rw-r--r-- | docs/backup/win32_build_on_cygwin_using_mingw.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/docs/backup/win32_build_on_cygwin_using_mingw.txt b/docs/backup/win32_build_on_cygwin_using_mingw.txt index c35764bb..d93c2bce 100644 --- a/docs/backup/win32_build_on_cygwin_using_mingw.txt +++ b/docs/backup/win32_build_on_cygwin_using_mingw.txt @@ -35,20 +35,12 @@ Configure PCRE for MinGW compilation, and build and install it: export CFLAGS="-mno-cygwin" ./configure make winshared - cp .libs/pcreposix.dll /bin - cp .libs/pcreposix.dll.a /usr/i686-pc-mingw32/lib - cp pcreposix.h /usr/i686-pc-mingw32/include/regex.h + cp .libs/libpcre.a .libs/libpcreposix.a /usr/lib/mingw + cp pcreposix.h /usr/include/mingw Now unpack the Box Backup sources, enter the source directory, and configure like this: - export CXX="g++ -mno-cygwin" - export LD="g++ -mno-cygwin" - export CFLAGS="-mno-cygwin -mthreads" - export CXXFLAGS="-mno-cygwin -mthreads" - export LDFLAGS="-mno-cygwin -mthreads" - export LIBS="-lcrypto -lws2_32 -lgdi32" - (if you don't have a "configure" file, run "./bootstrap") - ./configure --target=i686-pc-mingw32 + ./infrastructure/mingw/configure.sh make |