GCC 4.8.1 is FULLY C++11 compliant, how to get in Mint 15?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
DaftKai
Level 1
Level 1
Posts: 21
Joined: Fri May 17, 2013 12:12 am

GCC 4.8.1 is FULLY C++11 compliant, how to get in Mint 15?

Post by DaftKai »

When I try to get the official GCC 4.8.1 for Linux Mint 15 Olivia; I can't seem to find it in the software center.. I've currently GCC 4.7 branch..

GCC 4.8.1 is FULLY C++11 compliant per GCC's oficial webpage and I'm doing some very extensive C++11 tasks so how to upgrae to GCC 4.8.1?
User avatar
xenopeek
Level 25
Level 25
Posts: 27594
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: GCC 4.8.1 is FULLY C++11 compliant, how to get in Mint 1

Post by xenopeek »

You can add the toolchain test PPA to get GCC 4.8.1. It is here https://launchpad.net/~ubuntu-toolchain-r/+archive/test. To add it, just open Software Sources, click the PPA button, and add ppa:ubuntu-toolchain-r/test. You will then be able to install gcc-4.8 from Software Manager. To run the C compiler use command gcc-4.8.1, to run the C++ compiler run the command g++-4.8.1. If you instead want to make these your system's default compilers, see second option in the answer here: http://askubuntu.com/a/312627
Image
DaftKai
Level 1
Level 1
Posts: 21
Joined: Fri May 17, 2013 12:12 am

Re: GCC 4.8.1 is FULLY C++11 compliant, how to get in Mint 1

Post by DaftKai »

Awesome! Many thanks, xenopeek! :D
Post Reply

Return to “Software & Applications”