OK, I have to compile a 2.4.22 patched kernel but I get some errors. According to the patch maintainer the problem is generated by my compiler. I use Fedora Core 1 and the gcc version in it (after updates) is 3.3.2. In order to compile successful I must use gcc 2.96. So, I have installed compat-gcc and now I have gcc 2.96 in /usr/bin/gcc296.
The question is: how do I tell make to use this compiler???
This are the things that I have tried:
1.Before compilation I did:
Then I followed the normal kernel compilation procedure but this did not helped.
2.I've tried passing CC=gcc296 to make, like “make CC=gcc296 bzImage” instead of “make bzImage”. No luck.
3.This one is inspired from an Oracle Application Server installation on Fedora Core 1. Basically I have renamed gcc and g++ to gcc332 and g++332 and made symbolic links to gcc296 and g++296
#mv /usr/bin/gcc /usr/bin/gcc332
#mv /usr/bin/g++ /usr/bin/g++332
#ln -s /usr/bin/gcc296 /usr/bin/gcc
#ln -s /usr/bin/g++296 /usr/bin/g++
Then a normal kernel compilation. But this does not help either.
I am stuck here and I would appreciate any help, hints or links that would help me solve the problem.