Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to get an old version of GCC for my Ubuntu but I can't find any working way to achieve that. I'd like to use the version 4.1.2 of GCC, and I currently got the 4.7.2.

How may I install GCC 4.1.2 ?

share|improve this question
up vote 4 down vote accepted

If you do not have SVN install it with

sudo apt-get install svn

Then run the following command and it will download the source for gcc 4.1.2 into a subdirectory of the current working directory.

svn co svn:// gcc

Then follow the official gcc build guide

share|improve this answer

Your Answer


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.