First build an environment
docker build buildenv -t tinyos
Enter build environment:
- Linux or MacOS:
docker run --rm -it -v "$(pwd)":/root/env tinyos
- Windows (CMD):
docker run --rm -it -v "%cd%":/root/env tinyos
- Windows (PowerShell):
docker run --rm -it -v "${pwd}:/root/env" tinyos
Build for x86 (other architectures may come in the future):
make build-x86_64
exit the environment using exit
To emulate the OS with Qemu run: (Qemu should be in path)
qemu-system-x86_64 -cdrom dist/x86_64/kernel.iso