On Thu, 23 May 2002 14:50:02 -0700
Steven Boothe <[EMAIL PROTECTED]> wrote:

> Hello everyone:
> 
> I seem to have a problem compiling a simple hello.cpp program:
> """""""""""""""""""""""""
> #include <iostream.h>
> int main()
> {
>   cout << "Hello, world." << endl;
>   return 0;
> }
> """""""""""""""""""""""""
> 
> The error I get is:
> 
> [sboothe@poretz sboothe]$ gcc hello.cpp
> gcc: installation problem, cannot exec `cpp0': No such file or directory
> [sboothe@poretz sboothe]
> 
> For the record here is the output of some hopefully meaningful commands:
> 
> [steven]$ rpm -qa | grep gcc && rpm -qa | grep gcc && rpm -qa | grep libstd
> gcc3.0-cpp-3.0.4-2mdk
> gcc-2.96-0.76mdk
> gcc-c++-2.96-0.76mdk
> libgcc3.0-3.0.4-2mdk
> gcc3.0-cpp-3.0.4-2mdk
> gcc-2.96-0.76mdk
> gcc-c++-2.96-0.76mdk
> libgcc3.0-3.0.4-2mdk
> libstdc++3.0-devel-3.0.4-2mdk
> libstdc++2.10-2.96-0.76mdk
> libstdc++3.0-3.0.4-2mdk
> libstdc++2.10-devel-2.96-0.76mdk
> [steven]$
> 
> Thanks to anyone who read this message.
> 
> Peace,
> 
> Steven
> 

compiles fine with gcc-2.95.3
you could try to debug with gdb
i see that you have several versions of gcc installed. maybe the reason of your 
problems. do you need both?

bye
jipe

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to