On Mon, 17 Aug 1998 09:02:12 Niels Hald Pedersen wrote
> 
> Hi all;
> 
> Anybody having experience with installing egcs (1.0.2-8, as the RH5.1
> standard RPM) over a vanilla RH5.0 system (implying a glibc of
> 2.0.5c-10) ? I've just done that, and experience weirdnesses like
> smashing of the frame/stack pointer during calls to things like printf
> (from c++ code, compiling cleanly). Does this sound like a glibc
> problem, is egcs broken, or do I write subversive code (I dont expect
> anybody to comment on the latter :-))
> 
> Besides, do anybody have opinions on what is the best C++ compiler
> (generally, correctness preferred over speed), gcc 2.8.x, egcs or
> something else (possibly a commercial product) available for linux ?
>
> (with a good (best) C++ compiler I mean one which translates correctly
> (this must be taken as following ANSI semantics), objects to illegal
> language constructs instead of generating defective code silently (this
> appears to be a problem, also with gcc 2.7.x), and, to the extent it is
> possible, warns about dangerous constructs.

I have just successfully compiled ICE (Incremental Configuration Environment) 
using g++ 2.8.1. It was a difficult due to my limited hands on C++ expirience, 
the complexity of the application (class structure) and repeated "internal 
compiler" errors. When I ran the test suite most test passed, but all that 
involved I/O failed with seg faults. I am speculating that they are being caused 
by a linkage problem.

In all cases the internal compiler errors reported were eliminated by correcting 
what this C++ neophites eyes saw as erroneous syntactical constructs. The parser 
seems to have at least an existential crisis if not a pyscotic espisode dealing 
with errors that are almost right, primarily scope and argument issues.

I am sticking with 2.8.1 for now. My confidence in this release went up 
signifcantly when the fix for the X11 server crashes turn out to be a missing 
"volatile" key word in the kernel source. Everything including the kernel seems 
to run faster after compiling with this version.

Being familiar with cryptic, confusing and misleading error messages certainly 
has helped me, but I have questioned my sanity more than I usually do. I am also 
interested in egcs and looking forward to hearing other peoples, err I mean 
programmers, expirience and perspective

> (The least I want to do with this is to start a general C++
> discussion/flame war, so please dont)

Amen.


David Ross

[EMAIL PROTECTED]
Toad Technologies

"I'll be good! I will, I will !"

Reply via email to