Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Slackware - ARM This forum is for the discussion of Slackware ARM.


  Search this Thread
Old 05-07-2017, 08:17 AM   #1
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,397

Rep: Reputation: 92
Question How to compile a 32bit kernel located in arch/arm64 ?


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

Any tips about how to proceed ?
Old 05-07-2017, 09:37 AM   #2
Senior Member
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,158
Blog Entries: 5

Rep: Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938Reputation: 938
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.
Old 07-30-2017, 09:20 AM   #3
Registered: Aug 2014
Posts: 182

Rep: Reputation: Disabled
function compile_kernel() link


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile kernel on x86 32bit while installing gentoo sumanta_x86 Gentoo 5 01-25-2015 06:37 AM
[SOLVED] Warning while compile kernel 2.9.32 on ubuntu 10.04 in 32bit system Lieyza Linux - Newbie 2 07-22-2012 12:47 AM
possible to compile a 32bit kernel on a 64bit os? Shadowmeph Linux - General 5 10-02-2008 06:07 AM
Can't get kernel to compile as x86_64 arch... Electrode Linux - Software 22 12-18-2003 09:11 AM > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration