From 446028c4f13f33de4b610d0865d7df02107bcec2 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 11 Oct 2009 14:56:27 +0000 Subject: more windows notes git-svn-id: svn+q:///qpdf/trunk@793 71b93d88-0707-0410-a8cf-f5a4172ac649 --- README.windows | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.windows') diff --git a/README.windows b/README.windows index d3b7c106..8f5ed669 100644 --- a/README.windows +++ b/README.windows @@ -25,11 +25,13 @@ cygwin, though it's possible that it could be made to work with gcc From your MSYS prompt, run - ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw + CFLAGS=-O2 CXXFLAGS=-O2 ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw make -When done, you should copy the gcc runtime DLL into the libqpdf/build -directory. You can find the path to it by running +Omit the CFLAGS and CXXFLAGS values if you want debugging information. +You may also want to strip the DLL and executables to create much +smaller files. When done, you should copy the gcc runtime DLL into +the libqpdf/build directory. You can find the path to it by running objdump -p qpdf/build/qpdf.exe | grep DLL type -P libgcc_s_dw2-1.dll -- cgit v1.2.3-54-g00ecf