Recompile kernel: patches, as86 vs. as
Hi. I'm trying to do my first kernel recompile, with 2.2.15 (Mandrake 7.1). Two questions:
1) The Mandrake sources include about 50 patches besides the 2.2.15 tarball, many of which seem to be for old kernel versions (e.g., 2.2.12). Is there any way to tell which of these I actually need?
2) When I tried to compile just the unpatched 2.2.15 files, I got as far as make zImage, which banged out with
make[1]: Entering directory /usr/src/linux-2.2.15b/linux/arch/i386/boot
gcc D_KERNEL (bunch of options) bootsect.S -o bootsect.s
as86 -O -a -o bootsect.o bootsect.s
Make[1]: as86: command not found
Make[1]: ***[bootsect.o] Error 127
make[1]: Leaving directory '/usr/src/blahblah'
make[1]: ***[zimiage] Error 2
The Makefile for this boot directory has the lines
AS86 = $(CROSS_COMPILE)as86 -O -a
LD86 = $(CROSS_COMPILE)ld86 -O
Now, I understand from a previous post that as86 = assembler for 8086-80386 systems, and ld86 presumably = linker for same. But I have a system with 2 800 MHz PIII's, and as/ld instead of as86/ld86. If I replace as86 and ld86 in the makefile with as and ld, respectively, will that be OK? Or will I be messing up something? Why does it want an ancient assembler anyway - did I screw up during make config? Any info appreciated.
|