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

Notices


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

Rep: Reputation: 91
Question 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 ?
 
Old 05-07-2017, 09:37 AM   #2
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,275
Blog Entries: 1

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
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
sndwvs
Member
 
Registered: Aug 2014
Posts: 75

Rep: Reputation: Disabled
function compile_kernel() link
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 11:16 AM.

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