简体   繁体   中英

How to compile Linux kernel code on Windows?

我想编译并稍后修改Linux内核代码,但我不能通过安装和运行像Ubuntu这样的单独Linux系统然后在Linux系统上编译这个内核来做到这一点,因为我无法在完整的Linux系统上工作(笔记本电脑硬件问题)我想在Windows 7上做。我有办法可以做到吗?

The Linux kernel source tree has different files in some directories whose names only differ in capitalization, so unpacking the source tree would have to happen in a directory where the POSIX compatibility mode was active. Furthermore, you need a cross compiler targetting Linux, and an appropriate shell environment.

It can be done within the Cygwin environment if so desired, but I suspect it is significantly easier to run a Linux virtual machine, or CoLinux.

我认为你在谈论这个看看这个网站,他们提供了一种编译和修改的方法,并在Visual Studio中构建一个新内核希望它能帮到你

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM