LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How do I compile kernel for 486?? (https://www.linuxquestions.org/questions/slackware-14/how-do-i-compile-kernel-for-486-a-98378/)

kleptophobiac 09-29-2003 05:37 PM

How do I compile kernel for 486??
 
I want to compile kernel 2.4.22 to put on:

486 75mhz
24MB RAM
4.7GB HDD
Orinoco Gold 802.11b card

Anyway, I compiled kernel 2.4.22 with the cpu type set to 486.... and 28 hours later when it finished I got the error that I needed a pentium chip to run the kernel. The slackware bare.i works fine. What's going on?

KevinJ 09-29-2003 07:17 PM

take a look at the .config file currently in your /usr/src/linux-2.4 folder.... it should have a line "CONFIG_M486=Y" in that file.

Did you run "make mrproper" before running "make xconfig" (or make menuconfig) ?

-K

kleptophobiac 09-29-2003 08:23 PM

Quote:

Originally posted by KevinJ
take a look at the .config file currently in your /usr/src/linux-2.4 folder.... it should have a line "CONFIG_M486=Y" in that file.

Did you run "make mrproper" before running "make xconfig" (or make menuconfig) ?

-K

I didn't do make mrproper.... what is it?

Also, how could I speed this up with distcc? I already ran distccd on both machines (one 2.5ghz Athlon, and the craptastic laptop) and did the export thing, and when I ran make dep -j4 CC=distcc it gave me a jobserver error... so I removed the 4, and the err went away. However, it still goes piss slow, and I don't see any activity on the real computer. Any ideas?

KevinJ 09-29-2003 09:00 PM

I don't know what "distcc" is... but "make mrproper" prepares your system for a kernel rebuild. It removes remnants of old compiles and configs.

-K

kleptophobiac 09-29-2003 09:14 PM

well, I just did make mrproper, and set it to 386 mode just in case (I not 100% sure I have a DX chip, only 99% sure)

distcc is a distributed compiler.... as compiling the kernel took over a day on my old machine, and four minutes on my new machine. I'd rather have the new machine do the work. As it is, it takes six hours to do make dep on the laptop.

kleptophobiac 09-30-2003 03:50 PM

Well, it just finished compiling, and even though it was set up for a 386, it still gave me an error when I tried to boot it. It said it was built for pentium+


All times are GMT -5. The time now is 05:21 PM.