Comment 4 for bug 1022397

Revision history for this message
Stephen Kitt (steve-sk2) wrote : Re: [Mingw-w64] [Bug 1022397] [NEW] mingw32 and mingw-w64 need zlib-dev and pthreads libraries

Hi Simson,

On Sun, 08 Jul 2012 23:16:12 -0000, Simson Garfinkel
<email address hidden> wrote:
> I maintain open source software that cross-compiles for Windows using
> mingw. We would like our users to be able to compile on Ubuntu.
> Currently they cannot because there is not zlib-dev and there is no
> pthreads in the Ubuntu mingw-w64 build system.
>
> Are there any plans to add these? It is actually quite difficult to
> build them from sources on mingw, as it requires editing the
> distribution files. They should be included as part of the base system.

The Ubuntu MinGW-w64 packages come from Debian, and I'll probably wait until
Debian wheezy is released (and the distribution unfrozen) before updating the
packages. Nevertheless pthreads support is in the works, and should arrive
soon after wheezy's release. zlib-dev will take a bit longer, the approach
we're taking is to add a new partial architecture (so we'll need support in
the infrastructure tools).

> Also, the program configure-mingw and configure-mingw64 are also not
> provided, and they should be.

I take it you're referring to Fedora-style configure scripts which add the
appropriate parameters to configure invocations? (As described in
http://<email address hidden>/msg02946.html for
example.) They're not provided in the upstream packages but I can certainly
add them (along with appropriate pkg-config links).

Regards,

Stephen