Limine Bare Bones: Difference between revisions

Improve the "compiling on macOS" section
[unchecked revision][unchecked revision]
(Use base revision 1)
(Improve the "compiling on macOS" section)
Line 384:
''If you are not using macOS, you can skip this section.''
 
The macOS Xcode toolchain uses Mach-O binaries, and not the ELF binaries supportedrequired byfor this Limine-compliant liminekernel. TheA solution is to obtainbuild a cross[[GCC compilerCross-Compiler]], or to obtain one from [https://brew.sh homebrew]. Afterby installing homebrew, install the '''x86_64-elf-gcc''' package. After one of these is done, thenbuild replaceusing '''DEFAULT_CC'''make with '''CC=x86_64-elf-gcc''' and '''DEFAULT_LD''' with '''LD=x86_64-elf-ld'''.
 
===Creating the image===
Anonymous user