ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/07/22/10:33:55

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3979B181.21FAE62A@ece.gatech.edu>
Date: Sat, 22 Jul 2000 10:36:49 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-apps AT sourceware DOT cygnus DOT com
Subject: libpng-1.0.8rc1-1 ready for test

A few minor tweaks and documentation fixups relative to
libpng-1.0.8beta4-1, as well as sync'ing to the 'rc1' source from
png-developers. There were a number of non-cygwin-related modifications
to the build process which touched areas of the code that have given me
trouble building libpng on cygwin before, so I wanted to make sure that
-rc1 still built okay on cygwin, before -final came out.

Since libpng-1.0.8final is due next week, this is just an interim
release. However, testing and comments welcome! Hopefully, 1.0.8final
will look a lot like this one; other than sync'ing up to the 1.0.8final
source code, this port is fairly well streamlined -- and
libpng-1.0.8final-1 should be ready for 'latest' (*) as soon as the
png-developers make the -final drop.

(*) I think libpng should be moved into 'contrib' instead of 'latest'

The package is now available for testing at
   ftp://sourceware.cygnus.com/pub/cygwin/private/cygwin-extras-392/

libpng-1.0.8pre3-1.tar.gz
libpng-1.0.8pre3-1-src.tar.gz

Building requires gcc-2.95.2-2 and binutils (CVS, 20000721 or later),
and libpng depends on zlib.

NOTES:

o import-lib libfoo.dll.a
o stripped dll libfoo.dll
o static-lib libfoo.a
o cygwin-specific docs in /usr/doc/Cygwin/libpng-1.0.8.README
o generic docs in /usr/doc/libpng-1.0.8/*
o source archive already has the cygwin-specific patch applied

o cygwin-specific README and PATCH are stored in the source archive,
under <top>/CYGWIN-PATCHES/* (although the patch has already been
applied to the archive itself).

o define -DPNG_STATIC and -DZLIB_STATIC to get the 'correct' #define's
when compiling a .o that will be linked statically -- as well as using
'gcc -static' during the link step

o no special -Ddefine options needed (or link options) needed to link to
the dll

Most of the cygwin changes have been accepted into the official
libpng-1.0.8X tree. The remaining changes have to do with the
CYGWIN-PATCHES directory and slight modifications to the Makefile
install: process, and so it's appropriate that these minor changes be
maintained outside the official tree.

I was able to compile and pass pngtest with all of the following:

static
dll
static w/ pnggccrd (assembler stuff)
dll w/ pnggccrd
static using 'gcc -mno-win32'
dll using 'gcc -mno-win32'
static w/ pnggccrd using 'gcc -mno-win32'
dll w/ pnggccrd using 'gcc -mno-win32'

However, the binary package did not use -mno-win32, and does not include
pnggccrd.

A word of warning: pngtest will fail if it picks up the wrong libz.dll
at runtime. Make sure you're using the one in the zlib-1.1.3-3 or -2
package and not an older copy or the one distributed with Suhaib's X11
stuff. 

Comments and test reports welcome!

--Chuck

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019