News: 0001490153

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Updated Patches Allow Compiling The Linux Kernel From Within macOS

([Linux Kernel] 79 Minutes Ago Building ARM64 Linux On macOS Hosts)


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/



sophisticles

gnarlin

Any reproduction or redistribution of the Software not in accordance with the
License Agreement is expressly prohibited by law, and may result in severe
civil and criminal penalties.