This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error trying to exec 'cc1plus': execvp: No such file or directory
- From: Mahmood Naderan <nt_mahmood at yahoo dot com>
- To: gcc <gcc-help at gcc dot gnu dot org>
- Date: Sun, 10 Feb 2013 23:20:46 -0800 (PST)
- Subject: error trying to exec 'cc1plus': execvp: No such file or directory
- Reply-to: Mahmood Naderan <nt_mahmood at yahoo dot com>
Hi,
Can someone help me with this error when making my program.
make[5]: Entering directory `/home/mahmood/trunk/simulators/CMP.L2Shared.Trace'
/usr/bin/g++-4.1 -isystem /opt/boost_1_33_1 -isystem /home/mahmood/simics-3.0.31/src/include -I/home/mahmood/trunk -Ibooksim -Ibooksim/arbiters -Ibooksim/allocators -Ibooksim/routers -Ibooksim/networks -IDRAMSim2 -DTARGET_PLATFORM=v9 -DSELECTED_DEBUG=iface -M -MF wiring.v9_iface_gcc_dep -MM -MT wiring.v9_iface_gcc_o wiring.cpp
Putting child 0x016cbf20 (wiring.v9_iface_gcc_dep) PID 31579 on the chain.
Live child 0x016cbf20 (wiring.v9_iface_gcc_dep) PID 31579
g++-4.1: error trying to exec 'cc1plus': execvp: No such file or directory
More information:
mahmood@pc:~$ ls -l /usr/bin/g++*
lrwxrwxrwx 1 root root???? 21 Feb 10 14:56 /usr/bin/g++ -> /etc/alternatives/g++
lrwxrwxrwx 1 root root???? 52 Feb 11 10:32 /usr/bin/g++-4.1 -> /opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/g++
-rwxr-xr-x 1 root root 263328 Apr 16? 2012 /usr/bin/g++-4.4
-rwxr-xr-x 1 root root 357312 Apr 16? 2012 /usr/bin/g++-4.6
mahmood@pc:~$ /usr/bin/g++-4.1
g++-4.1: no input files
mahmood@pc:~$ /usr/bin/g++-4.1 -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/opt/gcc-4.1.2/installed --disable-multilib
Thread model: posix
gcc version 4.1.2
Regards,
Mahmood