[Zlib-devel] Cross compiling zlib

Alberto Ruiz aruiz at gnome.org
Sat May 5 12:05:01 EDT 2007


Hello there,

I've been trying to compiling zlib using mingw32[0] in a linux host (and
automate it with jhbuild[1]), I've found that the ARFLAGS are set in the AR
variable of the Makefile, this flags are incompatible with the mingw32's ar,
so I've patched it to perform a succesful build. Basically the patch adds an
ARFLAG  variable to split the command and the flag arguments.

The patch is attached to this mail. Comments are welcome :)


[0] http://www.mingw.org/
[1] http://www.freedesktop.org/wiki/Software/jhbuild
-- 
Un saludo,
Alberto Ruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20070505/4fc677d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib_mingw_build.patch
Type: text/x-patch
Size: 1154 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20070505/4fc677d5/attachment.bin>


More information about the Zlib-devel mailing list