To build an old program for use in my Debian GNU/Linux box I need either GCC 4.9 or GCC 5. GCC 6+ will not work without changing the sources (that, for several reasons, I cannot change).

So I want to install GCC 4.9 or GCC 5, but I can't find a package.

Is there a faster way than building them from sources? (possibly scriptable)

  • GCC 5 is still available in unstable; depending on your exact requirements that might be sufficient... Jan 16, 2018 at 10:53
  • @StephenKitt I need to build a rump kernel (see github.com/rumpkernel/buildrump.sh ) and while it used to build fine on Jessie, I have several spurious errors in Stretch. I'd prefer to avoid apt pinning, since the process should be reproducible. Jan 16, 2018 at 13:17
  • Hmmm I googled it, and it says kernel for the Cloud...mind you my asking what is a rump kernel and the usefulness of one for Linux? Jan 16, 2018 at 13:26
  • A rump kernel is a NetBSD kernel running in user space on a target host (Linux in this case). It's uses depends on your needs, obviously. For example, it's pretty useful in OS development, to leverage NetBSD drivers and application. Jan 16, 2018 at 13:52


You must log in to answer this question.

Browse other questions tagged .