I am compiling my simple "Hello world" C code using the following command:
arm-linux-gnueabi-gcc-4.4 test.cpp -o test
It generates an error:
arm-linux-gnueabi-gcc-4.4: error trying to exec 'cc1plus': execvp: No such file or directory
My directory:
/usr/lib/gcc/arm-linux-gnueabi/4.4.7
won't have anycc1plus
file as the compiler is looking forcc1plus
whereas my/usr/lib/gcc/arm-linux-gnueabi/4.6
has thecc1plus
file.
My test.cpp
is a simple "hello-world" program, which I am going to target for ARM processor.
Please suggest how to solve this problem.