A Lot of Trouble With GCC
While I was trying to compile a program it gave that error:
Code:
checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. |
Have you installed the gnu c compiler (GCC) yet?
# What compiler version do I have installed gcc -v gcc --version # What is the running kernel and compiler installed cat /proc/version |
Re: A Lot of Trouble With GCC
Quote:
One suggestion is to type in which gcc to determine where the existing gcc is pointing. Another idea is to remove, then explicitly install gcc again, e.g., apt-get remove gcc apt-get install gcc then try it again and see if it works. |
All times are GMT -5. The time now is 07:52 AM. |