dl@ROCKY.OSWEGO.EDU (Doug Lea) (08/18/88)
New releases of g++ 1.25.0 and libg++ 1.25.0 are available. * About g++, Michael Tiemann says: GNU C++ 1.25.0 is now available on prep.ai.mit.edu. The complete distribution is in the compressed tar file /u2/emacs/dist-g++.tar.Z which is a symbolic link to: /u2/emacs/g++.tar-1.25.0.Z Diffs are available (from 1.22.2) in the compressed file: /u2/emacs/g++.diffs-1.22.2-1.25.0.Z No new version of GDB+ is being distributed at this time. This release contains fixes for all bugs reported as of Friday, August 12, 1988. It has compiled (with -O -finline-functions) OOPS version 1 (test and vectest) and the (modified) version of InterViews 2.3 which haunted prep at one point, as well as libg++ 1.25.0. The compiler has also compiled tests from libg++ on the Sun4, but because there is no linker support (as yet), they can only be run from GDB, calling the static constructors by hand. If someone has the inclination to make GNU LD handle the Sun4, I would appreciate it. Michael * Some installation notes [from dl]: * The top of the diffs file contains instructions to delete two files and create another. These must be done manually before running `patch' with the rest of the file. * the diffs do not include the following fix (which *is* in the tar.Z version (but was not in a version that was briefly on prep before this posting)). Cut this out and apply *after* running patch with g++.diffs-1.22.2-1.25.0: *** decl.c~ Tue Aug 16 17:01:03 1988 --- decl.c Wed Aug 17 10:17:48 1988 *************** *** 2167,2171 **** if (TREE_STATIC (decl)) { ! char *buf = (char *)alloca (IDENTIFIER_LENGTH (current_class_name) + sizeof (STATIC_NAME_FORMAT)); tree name, static_decl; --- 2167,2174 ---- if (TREE_STATIC (decl)) { ! char *buf = (char *)alloca (IDENTIFIER_LENGTH (current_class_name) ! + IDENTIFIER_LENGTH (DECL_NAME (decl)) ! + sizeof (STATIC_NAME_FORMAT)); ! tree name, static_decl; * The very first diff to Makefile will almost surely fail. If so, be sure to perform these changes by hand. * On some BSD based systems, `extern int errno;' must be added to the top of file `lex.c'. * Vax users (at least) should apply the local-alloc.c patch recently posted to bug-gcc before compiling g++ with gcc. You may want to compile and use g++ without optimization (-O). * About libg++: The distribution is on prep /u2/emacs/libg++.tar-1.25.0.Z. This version contains one major bugfix, a few minor ones, some minor changes and improvements, some new classes, and many new container class prototype files. Read the README. P.S. Thanks to the many who sent uniformly positive responses about my GNU posting last week. Doug Lea, Computer Science Dept., SUNY Oswego, Oswego, NY, 13126 (315)341-2367 email: dl@rocky.oswego.edu or dl%rocky.oswego.edu@nisc.nyser.net UUCP :...cornell!devvax!oswego!dl or ...rutgers!sunybcs!oswego!dl
richk@HUMPBACK.CS.WASHINGTON.EDU (Richard_Korry {206} 543-2118) (08/19/88)
> The distribution is on prep /u2/emacs/libg++.tar-1.25.0.Z. This > version contains one major bugfix, a few minor ones, some minor > changes and improvements, some new classes, and many new container > class prototype files. Read the README. -- After installing gcc-1.25, g++-1.25 my compilation of test/test11.cc got me the following: $ g++ -g -O -fchar-charconst -c test11.cc In function int main (): test11.cc:76: Segmentation violation g++: Program c++ got fatal signal 11. *** Error code 1 This is on a Sun3/60 running SUNOS 3.5. Any ideas? rich