You could install both 4.6 and 4.4 version
$sudo apt-get install gcc-4.6
$sudo apt-get install gcc-4.4
$sudo apt-get install gcc
$ ls /usr/bin/gcc*
you should see 3 files: gcc, gcc-4.4, gcc-4.6.
And gcc link to gcc-4.6
Then link gcc to gcc-4.4
$ rm /usr/bin/gcc
$ ln -s /usr/bin/gcc-4.4 /usr/bin/gcc
Done!
No comments:
Post a Comment