Re: cannot exec 'cc1plus'

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

 



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@xxxxxxxxx> 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 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux