Limine Bare Bones: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
m (Wording fix.) |
(→Compiling the kernel on macOS: Correct make variable names) |
||
Line 409: | Line 409: | ||
''If you are not using macOS, you can skip this section.'' |
''If you are not using macOS, you can skip this section.'' |
||
The macOS Xcode toolchain uses Mach-O binaries, and not the ELF binaries required for this Limine-compliant kernel. A solution is to build a [[GCC Cross-Compiler]], or to obtain one from [https://brew.sh homebrew] by installing the '''x86_64-elf-gcc''' package. After one of these is done, build using '''make |
The macOS Xcode toolchain uses Mach-O binaries, and not the ELF binaries required for this Limine-compliant kernel. A solution is to build a [[GCC Cross-Compiler]], or to obtain one from [https://brew.sh homebrew] by installing the '''x86_64-elf-gcc''' package. After one of these is done, build using '''make KCC=x86_64-elf-gcc KLD=x86_64-elf-ld'''. |
||
===Creating the image=== |
===Creating the image=== |