I've a system with
gcc 4.2.4 on board, but when I try to compile even a simple hello world I obtain this error:
$ gcc helloworld.c gcc: error trying to exec 'cc1': execvp: No such file or directory
I've checked and actually cc1 is not present in the system.
Also, I've noticed that some folders required from gcc (e.g.,
/usr/libexec/gcc) are missing.
Is there any possibility to restore the installation of gcc without trying to recompile it entirely?