LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to cross-compile linux kernel on windows (http://www.linuxquestions.org/questions/linux-software-2/how-to-cross-compile-linux-kernel-on-windows-4175451798/)

iamlinux 02-26-2013 01:18 PM

how to cross-compile linux kernel on windows
 
how to cross-compile linux kernel on windows ??

help me

brianL 02-26-2013 01:29 PM

Don't know if it's possible. You could try it with Cygwin.

fortran 02-26-2013 11:32 PM

Why do you want to do it?
For an ARM-target?

you should have two compilers for cross-compiling the kernel.
One will create tools that run in your build environment and othert can create executables for your target.

iamlinux 02-26-2013 11:38 PM

yes

fortran 02-26-2013 11:43 PM

Where have you stuck?
Are you getting Error 126, something like this.
Code:

make[1]: *** [scripts/basic/name] Error 126
    make: *** [scripts_basic] Error 2


Lantzvillian 02-28-2013 04:56 PM

Three words: In a VM.

But we really need more details, like the platform, what your going to do with said kernel, have you ever cross compiled something before...

If this is for a router/embedded device - look at Openwrt for a buildroot so you can get your kernel image.

Not to discourage you, but either this can go really well, or become a PITA. Feel free to post more info.


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