[poppler] poppler ported to Mingw+MSys
Albert Astals Cid
aacid at kde.org
Sat Sep 27 08:24:33 PDT 2008
A Dissabte 27 Setembre 2008, carlo.bramix va escriure:
> Hello,
>
> > > > > I tried to compile poppler under mingw+msys.
> > > > > With some fixes I was able to compile it successfully.
> > > > > I did my changes on the latest git checkout.
> > > > > Description of changes into attached patch:
> > > > >
> > > > > glib/Makefile.am
> > > > > added support for shared library generation to libpoppler-glib.
> > > >
> > > > libpoppler-glib is created as a shared library on linux is that
> > > > @create_shared_lib@ needed for windows?
> > >
> > > Yes, @create_shared_lib@ is required for windows (and perhaps on other
> > > platforms too) because libtool cannot create shared libraries if
> > > "-no-undefined" is not specified. BTW, after your email I gave a look
> > > into configure.ac and I found this text where @create_shared_lib@ is
> > > defined:
> > >
> > > mingw|mingw32)
> > >
> > > Perhaps it would be better to modify that line into:
> > >
> > > mingw*)
> >
> > So you mean that with that change, the @create_shared_lib@ is not needed?
>
> No, the @create_shared_lib@ flag IS required, with all existing ports of
> mingw. In addition to this fix, in my opinion it won't be a bad idea to
> change also that line in configure.ac in that manner so that you can
> compile poppler not only with mingw32 but with mingw64 and mingwce too.
Ok, i misunderstood what you meant, all your changes (except the addition of
libpoppler-glib.la to the tests/Makefile.am) are in.
Thanks :-)
Albert
>
> Sincerely,
>
> Carlo Bramini.
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list