0

I'm trying to compile the gcc version 2.95.3 on raspbian, I need it in order to compile the 2.6 kernel.

I'm following this tutorial, but when I get to the bootstrapping step, i get

make[1]: Entering directory '/home/pi/Desktop/gcc2/gcc-2-build/gcc'
cd ../../gcc-2.95.3/gcc; autoconf
/bin/sh: autoconf: not found
make[1]: *** [../../gcc-2.95.3/gcc/configure]
make[1]: Leaving directory '/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make: *** [bootstrap] Error 2

What can I do?

  • Why are you using GCC 2.95.3? This is a very old version of the compiler which is no longer supported. Is there some technical reason GCC 4.x will not work? – bwDraco May 31 '14 at 20:11
  • @DragonLord Yes there is. I get a lot of errors when I try to compile the kernel 2.6 with gcc 4, and many posts on SO say that you need gcc 2.95.3 in order to compile it. I'll try your answer ASAP – Harlandraka May 31 '14 at 23:05
1
/bin/sh: autoconf: not found

You're missing autoconf, which is necessary to compile GCC. To continue, try installing it using the package manager:

# apt-get install autoconf

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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