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 need to rebuild a very old Linux 2.4 kernel for an ARM device. Said kernel will (as far as I know) not build correctly with gcc 4. So I need an older compiler for it.

Unfortunately none of my sources for precompiled compiler packages contain anything older than about 4.4 any more --- I've looked at CodeSourcery, emdebian and Scratchbox. I've tried compiling it myself, but while I've managed to figure out how to build gcc 4 (the instructions on how to do so I wrote up is one of the most popular on my website...) gcc 3 is beyond me, just failing with incomprehensible erros; and gcc 2.95 is so infamously hard to compile that I haven't even tried.

Surely somebody must have a source for precompiled packages that work on Ubuntu!

I'm using Maverick.

share|improve this question

closed as too localized by James, Marco Ceppi Dec 12 '11 at 3:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

VirtualBox + old distro? – Oli Oct 11 '10 at 23:27
This question appears to be abandonded, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. :) – James Dec 12 '11 at 2:50

Fot gcc 3.4.6, you can try the packages from

share|improve this answer
Thanks, but I'm afraid this isn't what I'm looking for --- this is a compiler for ARM that runs on ARM, as opposed to a cross-compiler for ARM that runs on ix86. – David Given Oct 12 '10 at 10:01

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