1) Input:
gcc -o test test.cpp
2) Output:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Solution. On Linux OS gcc installation is not supported 'cpp' - format file, on input gcc need put 'c' - format file:
gcc -o test test.c
Try to run compiled file:
./test
In my case it was successful. I hope it help you
No comments :
Post a Comment