Mail Archives: cygwin-announce/2002/01/13/00:21:58
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!! WARNING WARNING WARNING WARNING !!!!!!
To update your system, you must run setup.exe TWICE. First, run
setup and update ONLY the readline package from 4.2-3 to 4.2a-1.
UNSELECT any other packages. Continue until setup completes and
exits. Second, run setup and install the new libreadline4 and
libreadline5 packages. Continue until setup completes and exits. You
MUST do BOTH steps, or your cygwin installation will be (temporarily)
broken.
!!!!! WARNING WARNING WARNING WARNING !!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The readline package has been updated to readline-4.2a-1. Also,
there is a new companion package libreadline5-4.2a-1, as well as a
new backward-compatibility package libreadline4-4.1-2. Readline is a
library that provides user-input functions complete with history
functions and line-editing capabilities. Since the API changed
between readline-4.1 and readline-4.2, see the "Port notes" at the
end of /usr/doc/Cygwin/readline-4.2a.README if your favorite app no
longer compiles properly with this version of readline.
CHANGES to the readline package:
1. Update to the 4.2a release of readline
2. Internal changes to facilitate easier building/maintainance
3. readline is now built using the 'auto-import' features of
recent binutils.
4. The readline package has been split into two separate packages:
readline-4.2a-1 (contains the static libs, header files,
man pages, etc)
libnreadline5-4.2a-1 (contains the new DLL's)
5. libreadline4-4.1-2 is a new package containing the old
DLLs from readline-4.1-2, for backward compatibility. Previously
(and confusingly) these DLLs were packaged *along with the
new DLLs* within the main readline package.
See NOTES below for additional information.
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. Then, run setup TWICE and answer all of the questions EACH
TIME. The FIRST time, update ONLY the readline package. The SECOND
time, install the libreadline4 and libreadline5 packages. You MUST
do BOTH steps.
Note that we have recently stopped downloads from sources.redhat.com (
aka cygwin.com) 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 the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.
If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.
If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin AT cygwin DOT com . 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 ***
If you want to unsubscribe from 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 DOT com AT cygwin DOT com
NOTES:
o Now uses the auto-import functionality of newer binutils, and doesn'
t use __declspec(dllimport). This means you no longer need -
DREADLINE_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
20010930, 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.
-- PRO: Our fork diff from the original source is now
only 37k (autoconf adds an extra 100k diff for
the revised configure script), instead of 223k.
Perhaps some of our changes may now be accepted
by the official GNU sources; previously that was
not in the cards.
o The following packages have been converted from old style
"-DFOO_STATIC" to the new autoimport style of DLL structure:
ncurses readline gettext
The following have not (yet) and still need -DFOO_STATIC for
static builds:
zlib libpng xpm-nox jpeg tiff bzip2 jbig gdbm
--Chuck
- Raw text -