Mail Archives: djgpp/1999/06/10/08:50:32
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 -