[Zlib-devel] zlib 1.2.4.3 for your perusal

Volker Grabsch vog at notjusthosting.com
Sun Apr 11 21:37:24 EDT 2010


Mark Adler <madler at alumni.caltech.edu> schrieb:
> This is a possible candidate for 1.2.5.
> Please test on your systems.  Thanks!

The zlib-1.2.4.3 package builds fine under mingw-cross-env
when called via:

    CHOST=i686-pc-mingw32 \
    AR=i686-pc-mingw32-ar \
    RANLIB=i686-pc-mingw32-ranlib \
        ./configure --static
    make

However, a simple

    CHOST=i686-pc-mingw32 ./configure --static && make

does not work, because the wrong "ar" and "ranlib" tools are
used. The ./configure script checks for them via

    if [ -x "${CROSS_PREFIX}ar" ]; then
        ...

which fails when ${CROSS_PREFIX} is not an absolute path prefix.
So I recommend to use instead something like:

    if [ "${CROSS_PREFIX}ar" -h &>/dev/null ]; then
        ...

and the same for ranlib.


Greets,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




More information about the Zlib-devel mailing list