cannot exec 'cc1plus'

Amit Choudhary amit2030@yahoo.com
Tue Sep 26 18:15:00 GMT 2006


Hi Murilo,

>From the error, it looks like you have to re-install g++. I
tried searching for cc1plus and I found it in these locations:

/usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1plus
/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/cc1plus
/usr/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/cc1plus
/usr/i386-glibc21-linux/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus

Can you check if you also have cc1plus. I was able to execute: 

$/usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus

Regards,
Amit

--- Murilo Opsfelder Araújo <mopsfelder@gmail.com> wrote:

> Hi,
> 
> I have a little C++ app, see that:
> 
> $ cat teste.cpp
> #include <iotream>
> 
> using namespacing std;
> 
> 
> int main() {
>    cout << "testing the g++ compiler" << endl;
> 
>    return(0);
> }
> 
> When I try the following command I get an error:
> 
> $ g++ -o teste teste.cpp
> g++: installation problem, cannot exec `cc1plus': No such file
> or directory
> 
> Does anyone know what's happening?
> 
> Regards.
> 
> 
> -- 
> Murilo Opsfelder Araújo
> Linux User #391561
> ./murilo --opsfelder='araujo'
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Gcc-help mailing list