Requirements
Requirements
Section titled “Requirements”The development build uses Linux-style tools and boots under QEMU with OVMF.
| Tool | Purpose |
|---|---|
| Self-hosted Hydrogen compiler | Builds the Hylang OS and application projects |
make |
Runs build and test targets |
mtools (mformat, mmd, mcopy) |
Builds the FAT EFI image |
xorriso |
Builds the hybrid UEFI ISO |
| Python 3, GCC, and binutils | Generate the native runtime blob and test images, pack HyFS, and run smoke tests |
qemu-system-x86_64 and OVMF |
Run and test the image |
On Ubuntu, the system packages are typically:
sudo apt install make python3 gcc binutils qemu-system-x86 ovmf mtools xorrisoThe Makefile defaults to ../Hylang-Compiler/build/self_hosting/hydrogen-stage1. Build the compiler from the adjacent source checkout if needed:
cd ../Hylang-Compilercmake -S . -B buildcmake --build build --target hydrogen_stage1cd ../Australis-OSAlternatively, set HYDROGEN to a compiler binary that supports the current os, raw kernel, and exec project formats:
make iso HYDROGEN=/path/to/hyThe default OVMF path is /usr/share/OVMF/OVMF_CODE_4M.fd. Override it when running QEMU:
make run OVMF_CODE=/path/to/OVMF_CODE.fdThe published Hydrogen alpha-0.0.2 release predates the current raw-kernel and AUEX project features. Use a development compiler checkout for this OS tree. make iso also builds a local application compiler from that checkout; keep the sibling Hylang-Compiler source available.