[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:slackware_admin:cross_compiling_the_linux_kernel [2018/06/01 21:59 (UTC)] – [Cross-compiler] bifferoshowtos:slackware_admin:cross_compiling_the_linux_kernel [2018/06/01 22:23 (UTC)] – [Kernel preparation] bifferos
Line 29: Line 29:
 <code>Target options -> Target Architecture Variant (i486)</code> <code>Target options -> Target Architecture Variant (i486)</code>
  
-You can play around with many options like kernel version and glibc etc.. however for building the kernel itself none of these matter.  The only option that may conceivably make a difference is the GCC version, particularly if you are building a particularly old kernel version which doesn't support later versions of GCC.  For this we can just leave all defaults though.  Save the config and then:+You can play around with many options like kernel version and glibc etc.. however for building the kernel itself none of these matter.  The only option that may conceivably make a difference is the GCC version, particularly if you are building a particularly old kernel version which doesn't support later versions of GCC.  For this demonstration we can just leave all defaults though.  Save the config and then:
  
 <code>$ make</code> <code>$ make</code>
  
 +While that's running we'll configure the kernel so it's ready to compile.
 ==== Kernel preparation ==== ==== Kernel preparation ====
  
Line 40: Line 41:
 $ wget https://mirrors.slackware.com/slackware/slackware-14.2/kernels/hugesmp.s/config -O .config</code> $ wget https://mirrors.slackware.com/slackware/slackware-14.2/kernels/hugesmp.s/config -O .config</code>
  
-You should now have a .config in /usr/src/linux which says 'CONFIG_64BIT is not set' at the top.+You should now have a .config in /usr/src/linux which says 'CONFIG_64BIT is not set' at the top.  That will replace your old 64-bit kernel .config that you had before (included from the 'K' disk set).  Obviously copy the kernel someplace else if you wanted to keep that!
  
 ==== Kernel compilation ==== ==== Kernel compilation ====
 howtos:slackware_admin:cross_compiling_the_linux_kernel ()