On Mon, 9 Apr 2001, cyberclay wrote:
> Since you apparently have this cc1plus file could you please
> tell me which package provides it by issuing the following
> command:
>
> rpm -qf /usr/lib/gcc-lib/i586-mandrake-linux/cc1plus
>
> Thanks
>
> cclay
On my 7.2 system cc1plus is in
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/
and the package was gcc-c++-2.95.2-12mdk.
Note the 2.95.3 and 2.95.2 - maybe I renamed the directory at some point?
It works, whatever.
Try locate anyway, then rpm -qf ...
> ----- Original Message -----
> From: "David E. Fox" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, April 09, 2001 2:02 PM
> Subject: Re: [newbie] cc1plus?
>
>
> > > [cclay@www cclay]$ make test
> > > g++ test.cpp -o test
> >
> > Generally, 'test' is not a good name for a test program because there
> > exists a shell builtin / external program also called 'test' which will
> > most likely not do what your test program does.
> >
> > > <command line>: warning: "system" re-asserted
> > > <command line>: warning: "cpu" re-asserted
> > > <command line>: warning: "machine" re-asserted
> >
> > I don't know C++ really so I don't know where these are coming from.
> >
> > > cpp: -lang-c++: linker input file unused since linking not done
> > > g++: installation problem, cannot exec `cc1plus': No such file or
> directory
> > > make: *** [test] Error 1
> >
> > That looks more serious. It would see that your cc1plus binary is not
> > found. On mandrake systems there should be a directory:
> >
> > /usr/lib/gcc-lib/i586-mandrake-linux
> >
> > where the actual compiler parts live. In that directory there should be
> > a file 'cc1plus'.
> >
> > > cyberclay
> > ------------------------------------------------------------------------
> > David E. Fox Thanks for letting me
> > [EMAIL PROTECTED] change magnetic patterns
> > [EMAIL PROTECTED] on your hard disk.
> > -----------------------------------------------------------------------
> >
>
>
>
--
Len Lawrence @ The Thistle Foundation