Troubleshooting
Compiler Not Found
# Check toolchain
which sh-elf-gcc
export PATH="$KOS_BASE/../sh4elf/bin:$PATH"
KOS Base Not Set
# Verify KOS installation
ls $KOS_BASE/kernel/arch/dreamcast
# Set if missing
export KOS_BASE=/path/to/kos
Build Fails with Link Errors
# Clean and rebuild
make clean
make release
ISO Creation Fails
# Check mkisofs installation
which mkisofs
# Use scripts/create-bootable-iso.sh
./scripts/create-bootable-iso.sh