Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Andreas Trottmann <andreas.trottmann@werft22.com>
Subject: Re: program compiled with g++ dumps core?
Date: 1998/03/30	[thread overview]
Message-ID: <6foo42$4o3$1@guardian.aart.ch> (raw)
In-Reply-To: 6foip1$afd$1@murdoch.acc.Virginia.EDU


In article <6foip1$afd$1@murdoch.acc.Virginia.EDU>,
Colin Prepscius <colin@broca.med.virginia.edu> wrote:


 CP> #include <stdio.h>

Shouldn't this be iostream.h?

 CP> int main (void) {
 CP> cout << "Hello";
 CP> return 1;
 CP> }

 CP> yields:
 CP> HelloSegmentation fault (core dumped)

It yields

clockwork:~/src $ ./a.out
Helloclockwork:~/src $

for me :)

 CP> This is with RedHat linux on a 533Mhz Microway Alpha, gcc version
 CP> 2.7.

Which RedHat? I'm running 4.1 (on a 433 MHz Miata), and I've heard rumors
that c++ doesn't work well on 5.0 (that's one reason why I'm still running
4.1 :) )

Have you tried to look for update rpms for the C++ system?

-- 
Andreas Trottmann <andreas.trottmann@werft22.com>



  reply	other threads:[~1998-03-30  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-30  5:00 program compiled with g++ dumps core? Colin Prepscius
1998-03-30  5:00 ` Andreas Trottmann [this message]
1998-03-30  5:00   ` Colin Prepscius
1998-03-30  5:00   ` Greg Lindahl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox