Re: c++ compiler problem
On Sat, Sep 09, 2000 at 12:49:16PM -0400, Chris Gray wrote:
> On Sat, Sep 09, 2000 at 12:58:54PM +0200, Johann Spies wrote:
> > I get the following error when I try to compile a short c++ program:
> >
> > -----------
> > c++ allvehic.cpp -o voertuig
> > cpp: -lang-c++: linker input file unused since linking not done
> > c++: installation problem, cannot exec `cc1plus': No such file or
> > directory
> Somehow your gcc installation has gotten messed up. Perhaps you
> compiled gcc on your own and installed it in /usr/local/bin? If so, you
> might want to try
...
> to get the default c++ compiler. If that doesn't help, the only thing I
> could think of is to re-install gcc.
Re-installing gcc and g++ solved the problem. Thanks.
Johann
--
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
"Submit yourselves therefore to God. Resist the devil,
and he will flee from you." James 4:7
Reply to: