Chris Runge wrote:
> Here is my 10 second kernel-build guide that I use at least. It works without
> a problem.


cd /usr/src/linux-2.4
make mrproper
cp configs/{config file for architecture, smp, enterprise, etc. that is desired} 
.config
make oldconfig     <--- not sure this is necessarily needed
edit Makefile and change EXTRAVERSION
make menuconfig
make dep clean bzImage modules modules_install install
mkinitrd /boot/initrd-{version}.img {version}
edit /etc/lilo.conf
lilo
depmod -a
shutdown -r now

> I may have missed something in the haste to type this out, however.

Your list seems like a good FAQ entry.  

Is the following still worth mentioning?  

If your kernel doesn't work right and you suspect a compiler problem:
update your compiler to the latest version (currently for Red Hat, it's 
gcc-2.96-82 ?)
If that doesn't work, drop back to kgcc.
For Red Hat 7.1, install kgcc with 
   rpm -i /mnt/cdrom/RedHat/RPMS/egcs-compat*.rpm
Then for Red Hat 7.0 or 7.1,
edit /usr/src/linux/Makefile to reference kgcc instead of gcc by changing
 CC      = $(CROSS_COMPILE)gcc 
to
 CC      = $(CROSS_COMPILE)kgcc 

- Dan



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to