This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ANNOUNCEMENT] Updated: bzip2-1.0.2-2


I've just uploaded bzip2-1.0.2-2 to sourceware.  bzip2 provides the
bzip2.exe / bunzip2.exe executables, a patent-unencumbered but highly
effective compression tool.

CHANGES (since 1.0.2-1)
  (a) changed to 'auto-import' build style.  This is the last of
      my packages that previously needed '-DFOO_STATIC' flags when
      linking client programs statically.
  (b) Because I'm not sure if this DLL is absolutely backwards
      compatible, it has been renamed (from cygbz21.0.dll to
      cygbz2-1.dll)
  (c) This new DLL is in a new package, so that it can coexist with
      the old one.  The new package is 'libbz2_1', the old package
      is 'libbz2_0'.

See the NOTES section ath the bottom of this email.

CHANGES (since 1.0.1-3)
  (a) updated to 1.0.2 source, which has many bugfixes discovered over
      the 18 months since 1.0.1 was released.
  (b) splits binary package into 'libbz2_0' and 'bzip2'.  The former
      contains the DLL alone; the latter contains everything else.
  (c) 1.0.2 contains several wrapper scripts and man pages:
       bzgrep, bzdiff, bzmore
  (d) cygwin package now has a postinstall script to handle the info
      files
  (e) Reorganized to allow automated building (only maintainers care
      about this)
  (f) You STILL need to worry about the -DBZLIB_STATIC flag with
      this release.  That will be improved in future releases, but not
	  yet.  See the NOTES section, below.

--Chuck Wilson

INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up 'bzip2' from the 'Utils' category.   You may need to
click the "Full" button if it doesn't show up.  You might want to
make sure you update/install BOTH of the following packages:
   bzip2-1.0.2-2
   libbz2_1-1.0.2-2

Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date

In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.

Please  send questions or comments to the Cygwin mailing list at:
cygwin@sources.redhat.com .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.

               *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-YOU=YOURDOMAIN.COM@cygwin.com


NOTES:

o Now uses the auto-import functionality of newer binutils, and
doesn't use __declspec(dllimport).  This means you no longer need
"-DBZLIB_STATIC" or even -DALL_STATIC when compiling objects
intended for static linking. Just compile as normal. HOWEVER,
you need to use a special flags when linking statically: 'gcc -static'.
For dynamic linking, you need no special link-time flags (assuming
you're using binutils newer than 20011002, when --enable-auto-import
was made the default).

   -- PRO: no compile time flags needed when building
           client programs; ONLY need a link-time flag
           linking to static libraries.  NO special flags
           at compile-time nor link-time when linking to
           dynamic links.
   -- CON: (partial): if using binutils older than 20010930,
           you now need a special linktime flag for dynamic
           linking (-Wl,--enable-auto-import).  However,
           with an up-to-date binutils, you don't need this.

o If you are building a package that depends on libbz2, and you wish to
link *statically*, just use 'gcc -static' when linking your package.
There no need to -Ddefine anything special when compiling your object
files.

o No special -Ddefine options or link options are needed when building a
package that depends on libbz2 and you want to link dynamically
(recommended).

o The following packages have been converted from old style
"-DFOO_STATIC" to the new autoimport style of DLL structure:
     ncurses   readline   gettext   zlib   tiff
     libpng    xpm-nox    jpeg      jbig   gdbm
     bzip2
The following have not (yet) been converted, and still need
-DFOO_STATIC for static builds:
     NONE!!!!!



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]