From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,463c620718bdfbe1 X-Google-Attributes: gid111c93,public From: Andreas Trottmann Subject: Re: program compiled with g++ dumps core? Date: 1998/03/30 Message-ID: <6foo42$4o3$1@guardian.aart.ch>#1/1 X-Deja-AN: 339206684 References: <6foip1$afd$1@murdoch.acc.Virginia.EDU> X-Comment-To: (Colin Prepscius) Organization: Ideen Werft22 GmbH Newsgroups: comp.os.linux.alpha In article <6foip1$afd$1@murdoch.acc.Virginia.EDU>, Colin Prepscius wrote: CP> #include 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