[poppler] poppler ported to Mingw+MSys
carlo.bramix
carlo.bramix at libero.it
Sat Sep 27 07:32:38 PDT 2008
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.
Sincerely,
Carlo Bramini.
More information about the poppler
mailing list