LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   How to compile a 32bit kernel located in arch/arm64 ? (https://www.linuxquestions.org/questions/slackware-arm-108/how-to-compile-a-32bit-kernel-located-in-arch-arm64-4175605428/)

Linux.tar.gz 05-07-2017 08:17 AM

How to compile a 32bit kernel located in arch/arm64 ?
 
Hi,

the kernel is a aarch64 arm64, but I want to compile it on a SlackwareARM 32 bit.

Any tips about how to proceed ?

hazel 05-07-2017 09:37 AM

One way you could maybe do it is to use the trick that CLFS uses. You build a very limited set of tools in the target architecture -- much more limited than the usual LFS tools, basically just binutils, gcc, glibc and one or two others that gcc itself needs. Then you use those tools to build your real target.

sndwvs 07-30-2017 09:20 AM

function compile_kernel() link


All times are GMT -5. The time now is 09:26 PM.