Thursday, October 21, 2010

default gcc

http://ubuntuforums.org/showthread.php?t=29449

irst, let us go to the right directory

> cd /usr/bin

Let us check the default gcc version

> gcc --v

It should say 3.3.5

Now let us delete the old symbolic links

> sudo rm cpp gcc g++

Now let us change the symbolic links to 3.4

> sudo ln -s g++-3.4 g++
> sudo ln -s gcc-3.4 gcc
> sudo ln -s cpp-3.4 cpp

No comments: