First, read docs to learn how to set up the development environment.
- Ubuntu 22.04/24.04: Can be compiled and run directly.
- Windows 10/11: Requires WSL to be enabled for compilation and execution.
- Clone the Repository
git clone https://github.com/ParrotXray/CureOS.git
cd CureOS
- Install Required Packages
- Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Install the nightly toolchain (required for OS development features)
rustup toolchain install nightly
rustup default nightly
- Add i686 targets
rustup target add i686-unknown-linux-gnu
rustup target add i686-pc-windows-gnu
- Install required components
rustup component add rust-src
rustup component add llvm-tools-preview
cargo install bootimage
cargo install cargo-xbuild
- Run (Build / Debug / Run)
- Build
release
make all
debug
make all-debug
- Debug
qemu
make debug-qemu
bochs
make debug-bochs
- Run
make run