[TUHS] Mach 2.6 X113 cross compiled from Win32 as a multiboot ELF module
Jason Stevens via TUHS
tuhs at tuhs.org
Tue May 26 16:38:42 AEST 2026
For anyone that's interested I've made a project on github:
https://github.com/neozeed/mach25-X113
no new features, I'm using GCC 1.40 or 2.5.8 with an ELF backend to compile
the kernel as ELF. This way I can use a GRUB ISO & Qemu to do debugging
which has greatly simplified the build/debug loop.
It boots into single/multiuser so it's on parity with the old a.out/mach_o
kernel. But being able to edit local/compile it.
There wasn't all that many changes needed, more so the bootloader patches
arguments into the ELF image as it loads, which has greatly aided in this
whole thing. I did use AI to make the multiboot bootloader, as I'm no
ELF/multiboot wizard.
I suspect this would let me do the same with 386BSD for people who like that
kind of thing.
More information about the TUHS
mailing list