Another Rust Operating System - a simple Rust OS to learn how to create one.
In order to build ar-OS, you will need (at least):
- autoconf,
- cmake,
- nasm,
- qemu,
- grub2,
- xorriso (>= 1.5.0).
If another tools are needed (depending on your distro or your OS), please to create a PR.
- xargo (
cargo install xargo) - Rust nightly (using rustup:
rustup override set nightly) - rust-src (
rustup component add rust-src)
For macOS: nasm, gcc, g++, grub2, objconf, qemu, xorriso ...
# Clone the main repository as core
git clone https://github.com/ar-OS/ar-OS core
cd core
# Update the git submodules
git submodule init && git submodule update
# Build the project
make
# Run the project
RUST_TARGET_PATH=`pwd` make run-
error: No bootable deviceMake sure that grub2 is installed, not grub-legacy -
error: Error loading target specification: Could not find specification for target "x86_64-unknown-aros-gnu"Please to compile the OS usingRUST_TARGET_PATH=$(pwd) make -
error: possibly undefined macro: AC_CHECK_HEADERS
Please to installpkg-config(for macOS:brew install pkg-config)