Click to See Complete Forum and Search --> : Quick ? about Kernel sources


cyan
03-26-2001, 12:23 AM
Quick question. Can the Kernel sources from 1 distro be compiled in another? Just for example, could you take the sources from SuSE and compile on RH? Not really something I plan on doing, just wondering if it's possible. Thanks in advance.

Tyr-7BE
03-26-2001, 12:26 AM
Sources for the kernel are universal. http://www.kernel.org/ is the main place to get the kernel source, and the linux kernel is the linux kernel...the distro is everything that's built upon that. The ONLY difference I've ever seen is that in order to make the generic kernel source compile in Debian, you need to make some small adjustments to a certain makefile. Other than that it's identical no matter where you go :)

Tyr-7BE
03-26-2001, 12:42 AM
Sources for the kernel are universal. http://www.kernel.org/ is the main place to get the kernel source, and the linux kernel is the linux kernel...the distro is everything that's built upon that. The ONLY difference I've ever seen is that in order to make the generic kernel source compile in Debian, you need to make some small adjustments to a certain makefile. Other than that it's identical no matter where you go :)

cyan
03-26-2001, 02:15 AM
Ok, thanks. I was just wondering since I know some distros do some patching to the kernel (Mandrake from what I hear) and I was curious if that was entered into the actual code or just something done during the compile. Just idle curiousity.