[Poppler-bugs] [Bug 19219] New: Build DLL with mingw cross compiler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 21 09:52:15 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=19219

           Summary: Build DLL with mingw cross compiler
           Product: poppler
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: hib at hiberis.nl


Hi,

To port Evince to Windows, I needed a poppler dll. Cross compiling poppler with
the mingw32 compiler on Ubuntu did built static libraries, but failed to build
DLLs.

It appeared that libtool needs to be told to build dll's when initialized. The
first patch will do this, thus making it possible to cross compile poppler
DLLs.

When linking to these DLLs, the linker automatically imports what needs to be
imported for windows, but gives warnings about this if you do not give the
--enable-auto-import option to the linker. The second patch will provide this
option to the linker.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list