Commit 446028c4f13f33de4b610d0865d7df02107bcec2
1 parent
744bff20
more windows notes
git-svn-id: svn+q:///qpdf/trunk@793 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
2 changed files
with
8 additions
and
4 deletions
README.windows
| @@ -25,11 +25,13 @@ cygwin, though it's possible that it could be made to work with gcc | @@ -25,11 +25,13 @@ cygwin, though it's possible that it could be made to work with gcc | ||
| 25 | 25 | ||
| 26 | From your MSYS prompt, run | 26 | From your MSYS prompt, run |
| 27 | 27 | ||
| 28 | - ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw | 28 | + CFLAGS=-O2 CXXFLAGS=-O2 ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw |
| 29 | make | 29 | make |
| 30 | 30 | ||
| 31 | -When done, you should copy the gcc runtime DLL into the libqpdf/build | ||
| 32 | -directory. You can find the path to it by running | 31 | +Omit the CFLAGS and CXXFLAGS values if you want debugging information. |
| 32 | +You may also want to strip the DLL and executables to create much | ||
| 33 | +smaller files. When done, you should copy the gcc runtime DLL into | ||
| 34 | +the libqpdf/build directory. You can find the path to it by running | ||
| 33 | 35 | ||
| 34 | objdump -p qpdf/build/qpdf.exe | grep DLL | 36 | objdump -p qpdf/build/qpdf.exe | grep DLL |
| 35 | type -P libgcc_s_dw2-1.dll | 37 | type -P libgcc_s_dw2-1.dll |
TODO
| @@ -8,7 +8,9 @@ | @@ -8,7 +8,9 @@ | ||
| 8 | * Update release documentation to remember not to include debugging | 8 | * Update release documentation to remember not to include debugging |
| 9 | in the Windows release and to strip the DLL and executables. | 9 | in the Windows release and to strip the DLL and executables. |
| 10 | Consider making the "install" target do something useful for | 10 | Consider making the "install" target do something useful for |
| 11 | - Windows. | 11 | + Windows. Update README.windows in this case including taking out |
| 12 | + the mention of strip since it should be handled by the install | ||
| 13 | + step. | ||
| 12 | 14 | ||
| 13 | * Add comments for the security functions that map them back to the | 15 | * Add comments for the security functions that map them back to the |
| 14 | items in Adobe's products. | 16 | items in Adobe's products. |