Re: gcc can not find cc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



9.6.2010 16:17, lulu he kirjoitti:

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.

Please try:

gcc -print-search-dirs

and

gcc -print-prog-name=cc1

These will tell what the problem is...


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux