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 +++++--- TODO | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) 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 diff --git a/TODO b/TODO index 9a896d12..ef5eab6a 100644 --- a/TODO +++ b/TODO @@ -8,7 +8,9 @@ * Update release documentation to remember not to include debugging in the Windows release and to strip the DLL and executables. Consider making the "install" target do something useful for - Windows. + Windows. Update README.windows in this case including taking out + the mention of strip since it should be handled by the install + step. * Add comments for the security functions that map them back to the items in Adobe's products. -- cgit v1.2.3-54-g00ecf