gcc can not find cc1

lulu he loloseed@gmail.com
Wed Jun 9 16:11:00 GMT 2010


I've successfully installed gcc4.3.3 on my server.

I write a simple hello.c,and
gcc -o hello hello.c

an error was encounted:
gcc: error trying to exec 'cc1': execvp: no such file or directory

But I can see cc1 in ..../libexec/gcc/x86_64-unknown-linux-gnu/4.3.3.

It seems gcc could not find cc1.

Help will be appreciated.


More information about the Gcc-help mailing list