On Thursday 23 May 2002 15:02, [EMAIL PROTECTED] wrote:
> On Thu, 23 May 2002, Steven Boothe 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
>
> Use g++ to compile c++ programs. Make sure that you have gcc-c++
> installed also.

Sorry for not being more clear on this:

[sboothe@poretz sboothe]$ g++ hello.cpp
g++: installation problem, cannot exec `cpp0': No such file or directory
[sboothe@poretz sboothe]$

As for making sure I had gcc-c++ installed, I thought that providing the 
output of the following command would have shown the extent of what I had 
installed: (please pardon the repost of this again)

[sboothe@poretz sboothe]$ 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
[sboothe@poretz sboothe]$

If anyone can point out something I am missing I would be extremely 
appreciative. I already checked to see whether there was an rpm available for 
libgcc2.96, but apparently there isn't for 8.2.

Thanks again to any who took the time to read this message.

Peace,

Steven

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

Reply via email to