How to use gcc 4.7 in ubuntu 12.04 and how to make it default ?
How to use gcc 4.7 in ubuntu 12.04 and how to make it default ?
If you have to ask, the answer is you can't. Upgrade your OS.
Is there a compelling reason to use a newer gcc? (aside from having a higher version number)
4.7 has a bunch of neat features, to name a few:
transactional memory support
better c++11 and C11 support
__builtin_assume_aligned and many improvements to the autovectorizer
there are usually backports of gccs available in ppa's
e.g. the official toolchain testbuild ppa contains gcc4.7 for precise:
https://launchpad.net/~ubuntu-toolch...test/+packages
in the past that worked very well for me, though the last time I used it was when gcc 4.5 was new
Last edited by MadCow108; August 24th, 2012 at 06:34 PM.
Bookmarks