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.

It so happens that I hit a bug in Ubuntu's GCC 4.7.0, which has been fixed in later versions of GCC; I believe it's already fixed in 4.7.1.

  1. I can always download the source, compile and install it, but wouldn't it conflict with Ubuntu's package management?
  2. There's a "Toolchain test builds" PPA, but it seems to only contain 4.7.0 for Ubuntu 12.04.

What should I do to install GCC without disrupting my system?

share|improve this question
    
Do the first, but don't use make install use checkinstall to create a .deb package and install it so the package manager is aware of it. –  Uri Herrera Sep 23 '12 at 19:38
    
There's an answer-less question here on AskUbuntu about checkinstall tracking half of the filesystem, making the created package quite useless. Then again, maybe the poster was missing something with the prefix or suffix. –  user1071136 Sep 24 '12 at 0:17
    
Well I've used it before, with Inkscape and with Media Explorer (an HTPC software) and they're causing no trouble in my system. –  Uri Herrera Sep 24 '12 at 3:37
    
You'll have to agree Inkscape is not the same as a compiler which contains OpenMP, ld and stdc++... :) In addition, it seems building GCC for Ubuntu is not free of pitfalls. I used solarianprogrammer.com/2012/04/13/… and it was pretty smooth, but the result fails to link some programs. –  user1071136 Sep 24 '12 at 10:31
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.