Commit 3444a5a52ad2d2eec89265498b7f6b76b7c5b2fa

Authored by Jay Berkenbilt
1 parent 55b270a0

installation notes


git-svn-id: svn+q:///qpdf/trunk@795 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing 1 changed file with 18 additions and 5 deletions
README.windows
@@ -25,13 +25,11 @@ cygwin, though it's possible that it could be made to work with gcc @@ -25,13 +25,11 @@ 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 - CFLAGS=-O2 CXXFLAGS=-O2 ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw 28 + ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw
29 make 29 make
30 30
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 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
35 33
36 objdump -p qpdf/build/qpdf.exe | grep DLL 34 objdump -p qpdf/build/qpdf.exe | grep DLL
37 type -P libgcc_s_dw2-1.dll 35 type -P libgcc_s_dw2-1.dll
@@ -97,6 +95,21 @@ Note that you must redistribute the Microsoft runtime DLLs. Linking @@ -97,6 +95,21 @@ Note that you must redistribute the Microsoft runtime DLLs. Linking
97 with static runtime won't work; see "Static Runtime" below for 95 with static runtime won't work; see "Static Runtime" below for
98 details. 96 details.
99 97
  98 +Installing
  99 +==========
  100 +
  101 +As of this writing, make install doesn't work with Windows since it is
  102 +hard-coded to use libtool. Until that time, you can install manually
  103 +by looking at the install target in Makefile and gathering up the
  104 +appropriate pieces by hand. If building with mingw, be sure to run
  105 +strip on the DLL and EXE files to make them much smaller. This is not
  106 +necessary with msvc since it stores debugging information in a
  107 +separate file. Note that, in both cases, compiling with debugging
  108 +flags adds extra data to the symbol table and not to the resulting
  109 +executables. (Compiling with debugging flags, with msvc, is distinct
  110 +from directing the compiler to use debugging runtime libraries, which
  111 +does make a difference.)
  112 +
100 Static Runtime 113 Static Runtime
101 ============== 114 ==============
102 115