SUMMARY: UNIX C++ compilers

From: Zina Yung (
Date: Mon Jul 15 1996 - 11:34:07 CDT

Original question:

We have been using GNU C++ for the department, and there are
increasing concerns about the insurmountability of the instability
and incompleteness problems of GNU g++. We were told that the best C++
compilers for Unix platforms now come from the machine vendors
themselves, who are making the effort to remain ANSI-compliant.

I would like to know which C++ compilers you are using and what
experience you have, especially if it is a compilers from
SUN, SGI or HP..


I gathered that the SUN C++ Workshop is good (but expensive), and it is
fair to say that GNU C++ still appeals to many users (epsecially if they
don't need the Template Library, exception handling or RTTI).

Special thanks to the following people that responded and their comment:

From: Gerhard den Hollander <>
. It is a disaster on Suncs C++ 3.1 if you want to use templates in libraries ,
  a big trouble to get it right on 4.1, but if it works right, it's a breeze

. don't use EH (exception handling) unless you really no what you're doing
 (not a compiler issue, but a C++ issue) the horror stories about people
 breaking correct working programs by overenthousiaatsically coding EH in
 it are too much ..

From: Ken Teh <>
. GNU g++ is THE C++ compiler as far as I'm concerned. I use g++ 2.7.2 and
  it supports the latest draft of the ANSI C++ standard (April '95, I
  believe) which vendor compilers don't or at least not yet.

. Personally, I think the new features are a mistake. It overloads C++
  with much too many features. I suspect that's the reason for the
  interest in Java which is more streamlined.

From: Kenneth Simpson <>
. the first thing you're going to find out is there is no
  such thing as a standard C++ library. In fact, you'll discover
  libraries compiled by one C++ compiler are worthless when used with
  another C++ compiler. I would argue for GNU g++ - especially if you
  have a need to compile on different platforms. Otherwise, you might
  as well throw a dart - it's a really a question of which 'bundle of
  biases and prejudices' appeals to you.

From: "Ing. Carlos Ramon Guevara" <>
. We have been using C++ Workshop from SUN and it is extremely good... It
  has even won several awards. It has an integrated DEBUGGER (graphical),
  Source Code (routines) graphical trees, and the ability to work in
  groups (automatically detects and unifies changes made to modules by
  different users).
  Our experience with it is great, but it is not cheap....

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:05 CDT