Re: Debian Std C++?

1998-07-23 Thread Ossama Othman
Hi,

g++ 2.7.2.3 is fairly out of date with respect to C++ standards.  Use egcs
C++ 1.x instead.  Egcs is the Experimental GNU Compiler System.  It is
somewhat equivalent to gcc/g++ 2.9x.x, sort of :).  Anyway, the egcs
version of g++ conforms much more closely to the latest C++ standard.
However, the current stable version of egcs doesn't yet support
namespaces, except for namespace::std.  If you can wait till August,
when egcs 1.1 is supposed to be released then that version is supposed to
support general namespaces.  I'm not sure but it may also include the
latest version of SGI's STL (3.1).  Again, I am not sure about the latest
version of SGI's STL.  The new style C++ headers, iostream for example,
are also supported in the current version of egcs.  Are using bo?  Debian
2.0 (hamm) uses egcs c++ and FORTRAN by default.  The old gcc 2.7.2.3 is
still being used in hamm since there are kernel compile issues with gcc
2.8.x and egcs 1.x.

By the way, this is not local to Debian.  Any distribution that uses g++
will have these problems.

-Ossama

__
Ossama Othman [EMAIL PROTECTED]

--- PGP Keys ---
Public:  http://astrosun.tn.cornell.edu/staff/othman/OO_PUBLIC.asc
REVOKED: http://astrosun.tn.cornell.edu/staff/othman/OO_REVOKED.asc


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Debian Std C++?

1998-07-23 Thread jdassen
On Thu, Jul 23, 1998 at 09:35:51AM -0400, SEGV wrote:
 What is the state of Standard C++ (as adopted by ISO/ANSI) on GNU/Linux?

Debian 2.0 will ship with the egcs C++ compiler (http://egcs.cygnus.com/)
version 1.0.3 .

 For instance, browsing my system I see that c++ is gcc version 2.7.2.3. It
 warns that namespaces are mostly broken. The standard library is not
 enclosed in the namespace std, and iostream.h looks old and is not
 iostream.

egcs 1.0.3 still does not understand namespaces fully yet, but its C++
support is a big improvement over 2.7.2.3's .

 How long before I can type in every example from Stroustrup's latest book,
 and have it compile on Debian GNU/Linux?

Impossible to say. Join egcs development if you want it to be sooner rather
than later.

HTH,
Ray
-- 
Obsig: developing a new sig


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Debian Std C++?

1998-07-23 Thread Hannu Koivisto
[EMAIL PROTECTED] writes:

| egcs 1.0.3 still does not understand namespaces fully yet, but its C++
| support is a big improvement over 2.7.2.3's .

The original poster might want to try latest egcs snapshots from
egcs.cygnus.com. They work better for me than 1.0.3 in general
and they include better namespace support, better thread
support, etc. Of course, they are development snapshots, so
#include std. disclaimer

//Hannu


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null