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.
- I can always download the source, compile and install it, but wouldn't it conflict with Ubuntu's package management?
- 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?
make install
usecheckinstall
to create a .deb package and install it so the package manager is aware of it.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.