[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with gcc



On Tue, 16 Feb 1999, Luis Francisco Gonzalez wrote:

> Hi,
> I have just upgraded to the latest frozen in my nearest mirror and have
> started having problems with gcc. I get the following message:
> 
> $ gcc -c programa.cc
> gcc: installation problem, cannot exec `cc1plus': No such file or directory
> $ 
> 
> Using egcc rather than gcc seems to work, though:
> $ egcc -c programa.cc
> $     
> 
> Any clues as to what might be happening are appreciated as I can't do any
> debian work like this.

Yes, you're trying to compile C++ code with gcc instead of g++.  g++ uses
the egcs (egcc) engine, so the standard gcc frontend doesn't know what to
do with c++ code anymore.  Use g++/c++ to compile C++ code and it will
work.


Reply to: