[Zlib-devel] zlib 1.2.4.3 for your perusal

Török Edwin edwintorok at gmail.com
Sun Apr 11 03:50:13 EDT 2010


On 04/11/2010 09:48 AM, Vincent Torri wrote:
>
>
> On Sat, 10 Apr 2010, Mark Adler wrote:
>
>> zlibbers,
>>
>> zlib 1.2.4.3 is available here:
>>
>> http://zlib.net/current/beta/zlib-1.2.4.3.tar.gz
>>
>> for testing. The changes are in the ChangeLog. This is a possible
>> candidate for 1.2.5. Please test on your systems. Thanks!
>
> I tried cross compilation on linux for Windows:
>
> CHOST="i586-mingw32msvc" ./configure
>
> only gcc has the correct prefix. Am I doing something wrong ?

That is because this check in configure is wrong:
if [ -x "${CROSS_PREFIX}ar" ]; then

You don't have the full path here, you should try to execute it rather.
Also the uname extraction from CHOST is wrong (it only works if the 
triple has 4 components).
And with that fixed the uname comes out lowercase so that needs to be 
added too.

Attached patch should fix these.

Best regards,
--Edwin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20100411/1530813c/attachment.ksh>


More information about the Zlib-devel mailing list