delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/10/08:50:32

From: noname AT noname DOT org (Stuart Hall)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ECGS, DJGPP & GCC -- what's the difference
Date: Thu, 10 Jun 1999 12:17:55 GMT
Organization: Connix Internet
Lines: 41
Message-ID: <375fac51.1786663@news>
References: <7jk854$3atp2$1 AT titan DOT xtra DOT co DOT nz> <375DFDD5 DOT 6095CC24 AT a DOT crl DOT com> <375f64f8 DOT 3655464 AT news> <375EC4BA DOT EE7EC9B2 AT a DOT crl DOT com>
NNTP-Posting-Host: m5.aetna.com
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 09 Jun 1999 14:47:06 -0500, Weiqi Gao <weiqigao AT a DOT crl DOT com> so
kindly spent valuable time writing:

>Stuart Hall wrote:
>> 
>> Very interesting question.  So why would I want to use ECGS and not
>> GCC, or vice versa?  Is one or the other more compliant with the ANSI
>> C++ standard by any chance?
>
>You want to use egcs because it has the spanking new ANSI C++ standard
>features like namespaces, which GCC doesn't have.
>
>You want to use GCC because your current source compiles cleanly under
>it and doesn't hit on any oone of the bugs present in GCC but fixed in
>egcs.  Less new features means less annoying wrinkles in the system.
>
>Don't be too tied up with upgrading to the latest version, unless you
>really really need a feature (or a bug fix) from the new version of the
>compiler.  Have you heard about the college student who upgraded his
>Linux machine from Red Hat 4.2 to 5.0, and NOTHING WORKED ANY MORE?


Well, I am learning C++ and I'll need to use namespaces pretty soon.
GCC 2.8.whatever I have does understand the 'using namespace std;'
notation I have been using.

So now for the obvious question, how to I get ECGS running under DJGPP
and RHIDE?  It looks like it should drop right in without much
editing, but unfortunately the readme file that came with it is not
very readable (at least in my text editor).  I was kindof hoping to
just replace GCC with ECGS (at least until the new GCC comes out and
is ported by the DJGPP team).

Any help is greatly appreciated.

Stuart

----
Stuart Hall
Connecticut, USA
* return address:  f p r i n t f @ i n a m e . c o m *

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019