Updated Patches Allow Compiling The Linux Kernel From Within macOS
([Linux Kernel] 79 Minutes Ago
Building ARM64 Linux On macOS Hosts)
- Reference: 0001490153
- News link: https://www.phoronix.com/news/Building-Linux-Kernel-macOS-Hos
- Source link:
Back in 2022 were a set of patches that allowed [1]compiling the ARM64 Linux kernel from Apple macOS hosts . The intent was for developers just wanting to do some build/smoke testing from under an Apple Silicon device running macOS to see at least any kernel changes are successfully compiling on macOS with its LLVM/Clang-based toolchain. An updated form of those patches were posted today for review.
Daniel Gomez posted a new set of patches today for enabling the Linux kernel build system to function on macOS ARM64 hosts with the LLVM toolchain. Besides needing the LLVM toolchain of macOS, Homebrew needs to be used for fetching additional C header files not otherwise found on macOS systems but necessary for compiling the Linux kernel.
Those interested in the prospects of compiling the Linux kernel from within the confines of Apple macOS can find the newest patches [2]on the Linux kernel mailing list .
[1] https://www.phoronix.com/news/Linux-Compile-On-macOS
[2] https://lore.kernel.org/dri-devel/20240906-macos-build-support-v2-0-06beff418848@samsung.com/
Daniel Gomez posted a new set of patches today for enabling the Linux kernel build system to function on macOS ARM64 hosts with the LLVM toolchain. Besides needing the LLVM toolchain of macOS, Homebrew needs to be used for fetching additional C header files not otherwise found on macOS systems but necessary for compiling the Linux kernel.
Those interested in the prospects of compiling the Linux kernel from within the confines of Apple macOS can find the newest patches [2]on the Linux kernel mailing list .
[1] https://www.phoronix.com/news/Linux-Compile-On-macOS
[2] https://lore.kernel.org/dri-devel/20240906-macos-build-support-v2-0-06beff418848@samsung.com/
sophisticles