Commonly you have a symlink in /usr/bin/gcc pointing to the actual gcc version you want to use. E.g. /usr/bin/gcc -> /usr/bin/gcc-4.3
Change this symlink to another version of gcc to use it.
Creating symlinks can be done using ln -s gcc gcc-4.3
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more