C compiler cannot create executables
I am trying to configure lame, but this line stops the operation
checking for C compiler default output... configure: error: C compiler cannot create executables
so I tried to compile my own program
#include <stdio.h>
void main() {
printf("test\n");
}
and I get this error as i compile with this line
gcc -o test test.c
error:
<command line>:1:9: warning: "cpu" re-asserted
<command line>:1:13: warning: "machine" re-asserted
cpp: -lang-c: linker input file unused because linking not done
gcc: installation problem, cannot exec `cc1': No such file or directory
how can I fix this?
|