joe vannucci wrote:

> I have a similar problem with RH 5.0.  The following compiles ok, no
> warnings, but encounters a segmentation fault on the cout:
> 
> #include <iostream.h>
> 
> int main()
> {
>       cout << "hello" << endl;
>       return 0;
> }

Hmm. Are you linking against libg++ or libstdc++? And which version?

I've yet to get libg++ working with glibc.

For me (glibc-2.0.6, libg++-2.8.0, libstdc++-2.8.0, gcc-2.8.1), the
above program works OK if linked against libstdc++, but segfaults if
linked against libg++.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to