Results 1 to 4 of 4

Thread: Using gcc 4.7 in Ubuntu 12.04 ?

  1. #1
    Join Date
    Apr 2011
    Location
    Chittagong,Bangladesh
    Beans
    149
    Distro
    Ubuntu 14.04 Trusty Tahr

    Using gcc 4.7 in Ubuntu 12.04 ?

    How to use gcc 4.7 in ubuntu 12.04 and how to make it default ?

  2. #2
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: Using gcc 4.7 in Ubuntu 12.04 ?

    If you have to ask, the answer is you can't. Upgrade your OS.
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    Oct 2006
    Beans
    921

    Re: Using gcc 4.7 in Ubuntu 12.04 ?

    Is there a compelling reason to use a newer gcc? (aside from having a higher version number)

  4. #4
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: Using gcc 4.7 in Ubuntu 12.04 ?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •