LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-26-2013, 01:18 PM   #1
iamlinux
LQ Newbie
 
Registered: Feb 2013
Posts: 13

Rep: Reputation: Disabled
how to cross-compile linux kernel on windows


how to cross-compile linux kernel on windows ??

help me
 
Old 02-26-2013, 01:29 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,858
Blog Entries: 51

Rep: Reputation: Disabled
Don't know if it's possible. You could try it with Cygwin.
 
Old 02-26-2013, 11:32 PM   #3
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 267
Blog Entries: 2

Rep: Reputation: 48
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.
 
Old 02-26-2013, 11:38 PM   #4
iamlinux
LQ Newbie
 
Registered: Feb 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
yes
 
Old 02-26-2013, 11:43 PM   #5
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 267
Blog Entries: 2

Rep: Reputation: 48
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
 
Old 02-28-2013, 04:56 PM   #6
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Rep: Reputation: 41
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.
 
  


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
how to cross compile linux on windows 7 ? iamlinux Linux - General 1 02-13-2013 01:55 PM
Cross-Compile Fortran and C to Windows Application ghworkman Linux - Newbie 1 04-22-2010 07:10 AM
Cross compile linux kernel from x86 to powerpc has error smeezekitty Linux - Kernel 2 03-29-2010 03:13 PM
How can I cross compile the kernel? Basel Slackware 5 09-07-2005 06:23 AM
Cross Compile Kernel. zaicheke Linux - General 1 01-10-2005 11:39 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration