[poppler] Static build of utils
Patrick Spendrin
ps_ml at gmx.de
Thu Apr 15 02:57:40 PDT 2010
-----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 at 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-----
More information about the poppler
mailing list