Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Current version of GCC in Ubuntu 11.04 is 4.5.2. For certain C++0x features, I need GCC version 4.6, but would like to avoid compiling from source. Is there hope that Ubuntu will update GCC in the package repository before the next release in October (11.10).

This question asks a similar thing except for an earlier version of Ubuntu and GCC.

A second part of the question, if the answer is "no" to the first, then can I hope to see it appear in Ubuntu's unstable repository?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

I don't think they will change the compiler version in a release, because everything is compiled with the version provided in the package repositories. A new major version of gcc would require a total recompilation and thus re-installation of every package to maintain compatibility.

By the way, compiling gcc from source is surprisingly easy, in my humble opinion.

share|improve this answer
add comment

It's also possible that newer packages exist for GCC in a PPA or third party repository. But compiling from source is often the way to go if you want the very latest release.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.