How to switch the whole GCC from v4.4 to v4.5 in Maverick?
I see I have both v4.4 and v4.5 installed (by default?) on my Maverick machine.
v4.4 is the one currently in use.
I've seen also that /usr/bin has a number of symlinks to handle it:
ls -l /usr/bin | grep '4\.[45]'
lrwxrwxrwx 1 root root 7 2011-03-10 17:29 cpp -> cpp-4.4
-rwxr-xr-x 1 root root 224488 2010-09-27 20:41 cpp-4.4
-rwxr-xr-x 1 root root 237008 2010-09-27 23:00 cpp-4.5
lrwxrwxrwx 1 root root 7 2011-03-10 20:01 g++ -> g++-4.4
-rwxr-xr-x 1 root root 228520 2010-09-27 20:42 g++-4.4
-rwxr-xr-x 1 root root 236944 2010-09-27 23:01 g++-4.5
lrwxrwxrwx 1 root root 7 2011-03-10 17:29 gcc -> gcc-4.4
-rwxr-xr-x 1 root root 224488 2010-09-27 20:43 gcc-4.4
-rwxr-xr-x 1 root root 232912 2010-09-27 23:03 gcc-4.5
lrwxrwxrwx 1 root root 8 2011-03-10 17:29 gcov -> gcov-4.4
-rwxr-xr-x 1 root root 30212 2010-09-27 20:43 gcov-4.4
-rwxr-xr-x 1 root root 30216 2010-09-27 23:03 gcov-4.5
lrwxrwxrwx 1 root root 7 2011-03-10 17:29 i686-linux-gnu-cpp -> cpp-4.4
lrwxrwxrwx 1 root root 7 2011-03-10 17:29 i686-linux-
lrwxrwxrwx 1 root root 7 2011-03-10 19:59 i686-linux-
lrwxrwxrwx 1 root root 7 2011-03-10 20:01 i686-linux-gnu-g++ -> g++-4.4
lrwxrwxrwx 1 root root 7 2011-03-10 20:00 i686-linux-
lrwxrwxrwx 1 root root 7 2011-03-10 20:01 i686-linux-
lrwxrwxrwx 1 root root 7 2011-03-10 17:29 i686-linux-gnu-gcc -> gcc-4.4
lrwxrwxrwx 1 root root 7 2011-03-10 17:29 i686-linux-
lrwxrwxrwx 1 root root 7 2011-03-10 20:01 i686-linux-
I'd like to be able to drive the switch in a complete and safe way.
How to?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Uqbar
- Solved:
- Last query:
- Last reply: