Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* libg++ 2.7.1.4 is released.
@ 1996-04-12  4:00 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 1996-04-12  4:00 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----

There is no libiostream starting from libg++ 2.7.0.2. Please
use libstdc++ instead.

This release has no CursesW. You can use the one come with ncurses.

The beta directory has been changed. See below for details.

This is a beta software. Please send your comments to
linux-gcc@vger.rutgers.edu only.

This is the ELF binary release, 2.7.1.4, of the GNU C++ library 2.7.1,
for Linux. You have to install gcc 2.7.1 or above and libc 5.3.9 or
above to use it. Please don't use it with older gcc or libc.

====================
This directory contains Hewlett-Packard's implementation of
the C++ Standard Template Library.
It is the February 7, 1995 version.
It has been extensively modified so it can be compiled by g++.
(Version 2.6.1 or newer is recommended.)
Some of these hacks are pretty ugly, but are needed to work around
bugs in g++ (which we are working on).
Thanks to Carsten Bormann <cabo@informatik.uni-bremen.de> for
coming up with many of these work-arounds.  However, I have
come up with alternate (possibly inferior!) work-arounds in some cases.

It is easy to crash g++ by using STL.  (I found the function-object
templates in function.h to be especially fruitful in that respect!)
***SO DON'T BOTHER SENDING BUG REPORTS THAT STL CAUSES G++ TO CRASH***,
or otherwise fails to compile it. unless you also have a fix or
improved work-around!!!  WE KNOW!

Also note that this is based on a pre-Draft Standard for C++.
Thinks are likely to change.  For example, the header file names
are very likely to change.  The Allocator interface will change.  Etc, etc.
CYGNUS MAKES NO COMMITTMENT (yet) TO SUPPORT BACKWARD COMPATIBILITY FOR STL.

For examples if things that should work, look in the ../tests directory.

DOCUMENTATION:
See http://www.cs.rpi.edu/~musser/stl.html on the World-Wide Web,
or anonymous ftp to butler.hpl.hp.com, directory stl, file sharfile.Z.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
	
- -----------
Here is Carsten Bormann's notes on his changes:

This is a set of seriously bletcherous hacks to HP's wonderful STL
library.  The objective is to hammer STL through GCC 2.6.1 (2.6.0
seems to work, too, until you run into one of its bugs) so that us
academic types can play with STL, not to make STL better in any way.

Many of these changes make the library much less efficient.  All
changes (except vector<bool> -- see below) are due to bugs (or
non-features) in GCC, not due to any problems in STL.  Do not judge
the performance of STL (code space, data space, compile time
complexity, run time complexity) from these hacks -- they will be much
better when GCC implements more of Standard C++.  May the authors of
STL forgive me.

The class templates generally have been hacked in the following ways:

1) Static data members have been eliminated, generally by making them
non-static members or member functions (both of which generally
seriously impairs performance -- e.g., each rb_tree iterator now
carries a copy of NIL since there is no other place to put it).  The
template list<> has suffered most.

Allocators are still static members, since I changed defalloc.h to
have static members only.  (This makes allocators less useful, but
still useable.)  (Note that a static member without data need not be
initialized.)

2) For member functions defined outside the class template, parameters
of type tmpl<T>::something have been changed.  In some cases, a class
derived from the type has been used; in some cases the function simply
has been made inline (again causing code bloat).

3) A number of function templates in iterator.h have been declared
again for derived classes defined by templates, usually by making them
friend functions and using the name injection feature of GCC.  I don't
understand the relevant sections of the WP, so I don't know if this
hack will cease to work in more conforming versions of GCC or become
unneccessary or simply STL won't work with standard C++.  Some of
the necessary friends may still be missing...

defalloc.h has lost much of its functionality: see above.

bool.h has been made ineffective, since GCC supports bool.

Finally, bit_vector has been changed into a proper specialization of
vector<bool>.
[Not in this libstdc++ release. -PB]

demo.cc and Makefile build a small demo program for a number of
features of STL.  This is not a test suite, so I certainly have not
found all my mistakes (could anyone in possession of such a test suite
please run it over these hacks?).  Send bug reports (that follow GNU
bug reporting conventions) to

	cabo@informatik.uni-bremen.de

Note that I generally do not have time to answer questions about STL.

Carsten Bormann
====================

It is compressed with gzip 1.2.4.

The primary ftp sites for the compiler/C library are tsx-11.mit.edu
under pub/linux/packages/GCC and sunsite.unc.edu under pub/Linux/GCC.

Compile libg++ 2.7.1.4 may be tricky. You should first apply the
patches, libg++-2.7.1-2.7.1.4.diff.gz, against libg++ 2.7.1.
You have to remove libg++/src/rx.h.

The file list:

1. libg++-2.7.1.4.bin.tar.gz

  REQUIRED. Both static and shared ELF libraries for libg++, libstdc++,
  header files, gperf and genclass. It is libg++ 2.7.1.4. To install

  su root
  cd /
  rm -rf /usr/include/g++ /usr/lib/libstdc++.so /usr/lib/libg++.so
  gzip -dc libg++-2.7.1.4.bin.tar.gz | tar xvvf -
  ldconfig /usr/lib


H.J.
hjl@gnu.ai.mit.edu
04/05/96


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMW7ZFIQRll5MupLRAQHFVgQAykOQi8oypDR1bu6qpzk1j6JBzat3HCKl
fEsOi9GBih5uoFVyOOe0CrV5xZz+mBSp1GsH3lJ8H5UuEyr/kcegBPo8/7rm9kCH
libdhNuCaWkctFzBbwjscX8BTvCDSQ36YfSlIbsJNS3kVEbs8/ndbE5mMGWy2F80
qzrN930MU9s=
=FHOj
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-12  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-12  4:00 libg++ 2.7.1.4 is released H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox