This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cannot exec 'cc1plus'
- From: Amit Choudhary <amit2030 at yahoo dot com>
- To: Murilo Opsfelder "Araújo" <mopsfelder at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Sep 2006 11:15:49 -0700 (PDT)
- Subject: Re: cannot exec 'cc1plus'
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