Thanks Patrick, I guess I should try again to build with mingw to get away from the cygwin issues. Just that cygwin has most of the dependencies if you hunt through the package list, and I didn't have much luck with mingw on the first attempt.
Ideally I would like to deploy to various windows machines just by dropping in an exe, without having to install a load of stuff. I guess if I have all the dll's this might not be a problem. We have an old pdf2xml.exe for example that does just this, built against the original xpdf libraries. mike On 15 April 2010 10:57, Patrick Spendrin <ps...@gmx.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 13.04.2010 18:34, schrieb Mike Tonks: >> Hi, >> >> Is it easy to build the utils statically - I would really like a >> statically linked pdftohtml.exe (on Windows). >> >> I have sucessfully built poppler under cygwin using: >> >> ./configure >> make >> >> Is there some option I can add to this to create a static build? >> >> Thanks for any help. > > Well, the problem is to have all your dependencies as static libraries > as well. > For me this freetype, jpeg, openjpeg, lcms, libpng, for you also > cygwin*, which you would all need as static libraries as well. This is > probably much harder than getting poppler itself building statically > (you already do not have any dependency on libpoppler at all for pdftohtml). > You can see the dependencies of your .exe or your dll with depends.exe > (Dependency Walker, search for it on google). > - From my point of view, I would rethink why you need a static file. > >> >> mike > > regards, > Patrick > > * it might be even impossible to have a static cygwin.dll > >> _______________________________________________ >> poppler mailing list >> poppler@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/poppler >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.10 (MingW32) > > iEYEARECAAYFAkvG4xMACgkQi49rfdk/G3blRwCfb33BJKm6y7W/86GHT7J6Ksyi > 1BYAoJqVM/l+nR/WeYxLX0XPuXcYJsnU > =YZ+P > -----END PGP SIGNATURE----- > _______________________________________________ > poppler mailing list > poppler@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/poppler > _______________________________________________ poppler mailing list poppler@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/poppler