Gcc: error trying to exec 'cc1': execvp: No such file or directory
<p>I'm sending an HTTP request to my web server and its task is to compile a file exploiting the system() function. I'm trying to compile this code:</p>

<pre><code>system("gcc -o testFile testFile.c")
</code></pre>

<p>However, I receive this error: </p>

<pre><code>error trying to exec 'cc1': execvp: No such file or directory
</code></pre>

<p>I'm not that expert in both linux and C. Anybody can help to fix this issue?</p>

<p>I tried the solution available and it did not work</p>