Building and cross-compiling kernel source on Mac OS

2019-03-12 Thread Pintu Agarwal
Hi, I have a Mac Book Pro with macOS High Sierra 10.13.x installed (with Mac OS Extended (Journaled, Encrypted)). I also have the Xcode installed so I can compile a C program using gcc. Now, I wanted to build linux kernel code (cross compile for arm or risc-v) on Mac OS. I know this is possible,

Re: cross compiling

2017-05-31 Thread loïc tourlonias
Hi On Wed, May 31, 2017 at 12:21 AM, juan pedro meriño wrote: > Toolchin for compiler linux? > Take a look at this page of kernelnewbies https://kernelnewbies.org/FAQ/KernelCrossCompilation BR Loïc > ___ > Kernelnewbies mailing list > Kernelnewbies@

Re: cross compiling

2017-05-30 Thread juan pedro meriño
Toolchin for compiler linux? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-07 Thread Mandeep Sandhu
So I found the issue (it was a PIBKAC issue :/) I was using sudo to try and build the kernel (this was due to a messed up setup where the whole kernel src tree ended up being written by root). When copy-pasting my command here, I missed copying the sudo part and that was precisely the reason for t

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-07 Thread Lad, Prabhakar
On Mon, Apr 6, 2015 at 11:50 PM, Mandeep Sandhu wrote: > Hi All, > > I'm having trouble compiling my kernel using a 32-bit toolchain (for > ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. > > I understand that 32-bit binaries require "ia32-libs" (or equivalent) > for compiling

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-07 Thread Mandeep Sandhu
> Edit .config and set CONFIG_CROSS_COMPILE to the path where your cross > compiler is located. This doesn't help either! :/ I'll start afresh. Maybe my setup got messed-up somehow. Thanks anyway! ___ Kernelnewbies mailing list Kernelnewbies@kernelnew

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-07 Thread Mandeep Sandhu
On Mon, Apr 6, 2015 at 5:27 PM, John de la Garza wrote: > On Mon, Apr 06, 2015 at 03:50:41PM -0700, Mandeep Sandhu wrote: >> >> I'm having trouble compiling my kernel using a 32-bit toolchain (for >> ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. >> >> Any hints on how to get

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-06 Thread Rock Lee
On 2015/4/7 6:50, Mandeep Sandhu wrote: > Hi All, > > I'm having trouble compiling my kernel using a 32-bit toolchain (for > ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. > > I understand that 32-bit binaries require "ia32-libs" (or equivalent) > for compiling on 64-bit hos

Re: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-06 Thread John de la Garza
On Mon, Apr 06, 2015 at 03:50:41PM -0700, Mandeep Sandhu wrote: > > I'm having trouble compiling my kernel using a 32-bit toolchain (for > ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. > > Any hints on how to get make to use the toolchain? > after you export CROSS_COMPILE

cross-compiling kernel using a 32-bit toolchain on a 64-bit machine

2015-04-06 Thread Mandeep Sandhu
Hi All, I'm having trouble compiling my kernel using a 32-bit toolchain (for ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. I understand that 32-bit binaries require "ia32-libs" (or equivalent) for compiling on 64-bit hosts. I installed the required packages (lib32z1 lib32nc

Re: Cross Compiling a different architechture

2013-01-09 Thread Ganesh B
9 PM Subject: Re: Cross Compiling a different architechture Yes, you touch the pain area I am facing. I could build x86 as well as i386 toolchain. Though I have not tried the image yet. But when cross compiling arm and arm64 say for example, I receive .config related errors which either doe

Re: Cross Compiling a different architechture

2013-01-09 Thread Ganesh B
Yes, you touch the pain area I am facing. I could build x86 as well as i386 toolchain. Though I have not tried the image yet. But when cross compiling arm and arm64 say for example, I receive .config related errors which either does not create the .config or gives errors like I mentioned

Re: Cross Compiling a different architechture

2013-01-09 Thread Anuz Pratap Singh Tomar
y pi in few days and see if I face such issues or not(but that is highly tentative. ) > > TnR, > Ganesh > > -- > *From:* Anuz Pratap Singh Tomar > *To:* Ganesh B > *Cc:* "kernelnewbies@kernelnewbies.org" > *Sent:* Wednes

Re: Cross Compiling a different architechture

2013-01-09 Thread Ganesh B
cross-compile arch like arm.   TnR, Ganesh From: Anuz Pratap Singh Tomar To: Ganesh B Cc: "kernelnewbies@kernelnewbies.org" Sent: Wednesday, January 9, 2013 11:19 AM Subject: Re: Cross Compiling a different architechture On Wed, Jan 9, 2013

Re: Cross Compiling a different architechture

2013-01-09 Thread Anuz Pratap Singh Tomar
On Wed, Jan 9, 2013 at 3:30 AM, Ganesh B wrote: > I do not know why but whether ncurses or menuconfig the build fails at > some modules (specially hardware architecture ones), specially at cross > compiling architecture build stage. It went smoothly for same system > architecture

Re: Cross Compiling a different architechture

2013-01-08 Thread Ganesh B
I do not know why but whether ncurses or menuconfig the build fails at some modules (specially hardware architecture ones), specially at cross compiling architecture build stage. It went smoothly for same system architecture like i386 or x86 but not for arm or arm64. Where is the doc'

Re: Cross Compiling a different architechture

2013-01-08 Thread Anuz Pratap Singh Tomar
" > *Sent:* Tuesday, January 8, 2013 9:18 AM > > *Subject:* Re: Cross Compiling a different architechture > > Hi > > > On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B wrote: > > Hello, > > > > Any help with some doc's. I see a defconfig for all, but the tree

Re: Cross Compiling a different architechture

2013-01-08 Thread Ganesh B
; "kernelnewbies@kernelnewbies.org" Sent: Tuesday, January 8, 2013 9:18 AM Subject: Re: Cross Compiling a different architechture Hi On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B wrote: > Hello, > > Any help with some doc's. I see a defconfig for all, but the tree is not &g

Re: Cross Compiling a different architechture

2013-01-08 Thread Ganesh B
Can someone help me with Knoppix, doc's, and installers? Just about building my first kernel.   TnR, Ganesh From: Mulyadi Santosa To: Ganesh B Cc: "kernelnewbies@kernelnewbies.org" Sent: Tuesday, January 8, 2013 9:17 AM Subject: Re: Cr

Re: Cross Compiling a different architechture

2013-01-07 Thread Mulyadi Santosa
Hi On Tue, Jan 8, 2013 at 10:36 AM, Ganesh B wrote: > Hello, > > Any help with some doc's. I see a defconfig for all, but the tree is not > clear. Any documentation support for this in .Kconfig and .defconfig? Which config option you're not clear? Asking like this will only put you in the blue,

Re: Cross Compiling a different architechture

2013-01-07 Thread Mulyadi Santosa
On Tue, Jan 8, 2013 at 10:33 AM, Ganesh B wrote: > Hello, > > Can someone suggest any good auto installer for Installation CD and Recovery > CD? I have seen Knoppix without any documentation. Any support? you're aware that this is kernel related mailing list, right? but yet, you ask about install

Re: Cross Compiling a different architechture

2013-01-07 Thread Ganesh B
anesh From: Ganesh B To: Anuz Pratap Singh Tomar Cc: "kernelnewbies@kernelnewbies.org" Sent: Saturday, January 5, 2013 11:09 PM Subject: Re: Cross Compiling a different architechture Anuz Singh Tomar, Basically do I copy it in to separate folder or into spec

Re: Cross Compiling a different architechture

2013-01-07 Thread Ganesh B
Hello, Can someone suggest any good auto installer for Installation CD and Recovery CD? I have seen Knoppix without any documentation. Any support?   TnR, Ganesh___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.or

Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
chance with Data.   Warm Regards, Ganesh From: Ganesh B To: Anuz Pratap Singh Tomar Cc: "kernelnewbies@kernelnewbies.org" Sent: Saturday, January 5, 2013 11:07 PM Subject: Re: Cross Compiling a different architechture Anuz Singh Tomar, Basically do

Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
, Ganesh From: Ganesh B To: Anuz Pratap Singh Tomar Cc: "kernelnewbies@kernelnewbies.org" Sent: Saturday, January 5, 2013 10:52 PM Subject: Re: Cross Compiling a different architechture Anuz Singh Tomar, Do I use the tool chain directly or do

Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
installer or any separate installer is needed? TnR, Ganesh From: Anuz Pratap Singh Tomar To: Ganesh B Cc: "kernelnewbies@kernelnewbies.org" Sent: Saturday, January 5, 2013 10:43 PM Subject: Re: Cross Compiling a different architechture On

Re: Cross Compiling a different architechture

2013-01-05 Thread Anuz Pratap Singh Tomar
ch can compile using the configuration like buildroot one. And please do not top post. > > Warm Regards, > Ganesh > > -- > *From:* Anuz Pratap Singh Tomar > *To:* Ganesh B > *Cc:* "kernelnewbies@kernelnewbies.org" > *Sent:* Saturda

Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
ues making .config and make arch= for other architecture in i386.   Warm Regards, Ganesh From: Anuz Pratap Singh Tomar To: Ganesh B Cc: "kernelnewbies@kernelnewbies.org" Sent: Saturday, January 5, 2013 4:31 PM Subject: Re: Cross Compiling a dif

Re: Cross Compiling a different architechture

2013-01-05 Thread Ganesh B
architecture in i386.   Warm Regards, Ganesh From: Anuz Pratap Singh Tomar To: Ganesh B Cc: "kernelnewbies@kernelnewbies.org" Sent: Saturday, January 5, 2013 4:31 PM Subject: Re: Cross Compiling a different architechture On Sat, Jan 5, 2013

Re: Cross Compiling a different architechture

2013-01-05 Thread Anuz Pratap Singh Tomar
On Sat, Jan 5, 2013 at 5:05 AM, Ganesh B wrote: > Hello, > > I am receiving a configuration and CC1 Errors when cross compiling ARM64 > machine from a i386 version. Any help on correct cross compiling a > architechture from a different machine. A weblink is also fine. Been trying

Cross Compiling a different architechture

2013-01-04 Thread Ganesh B
Hello, I am receiving a configuration and CC1 Errors when cross compiling ARM64 machine from a i386 version. Any help on correct cross compiling a architechture from a different machine. A weblink is also fine. Been trying the docs and some scripts did not work. Is there a method to compile