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.

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
add comment

1 Answer

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.gnu.org/svn/gcc/tags/gcc_4_1_2_release gcc

Then follow the official gcc build guide

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.