Reputation: 21
I installed gcc 4.7.0 as a new version, but the result of gcc --version
did not change. I learned that I should set a link in /usr/bin/
to the gcc executable. However, under the index of 4.7.0 I installed there are 6 indexes:
bin include lib lib64 libexec share
I am not sure where I can find the gcc executable. Where should the gcc executable be commonly?
Thank you!
Upvotes: 1
Views: 531
Reputation: 508
It should be under the /usr/bin
directory. If it is not, try to find with:
$ which gcc
Upvotes: 1