Kernel Headers


The pre-made headers are available from .

To make a kernel that should work well enough to build a functioning glibc, used in Building GCC4



wget \

Extract the kernel:

tar xjf linux-2.4.25.tar.bz2

Patch the kernel:

cd linux-2.4.25
zcat ../patch-2.4.25-vrs2.gz | patch -p1

Configure the kernel (make sure GPH c compiler is on your $PATH):

export PATH=/usr/local/arm-dev/bin:$PATH
make ARCH=arm CROSS_COMPILE=arm-linux- at91rm9200dk_config
make ARCH=arm CROSS_COMPILE=arm-linux- oldconfig
make ARCH=arm CROSS_COMPILE=arm-linux- dep

This has been tested enough to get Building GCC4 working.

If you get errors while building the dependencies (common with gcc-3.x and gcc-4.0.x with kernel 2.4) see [[1]] for a solution.

Personal tools