CureOS/README.md
2025-05-11 14:30:44 +08:00

1.2 KiB

Getting Started

First, read docs to learn how to set up the development environment.

Installation and Execution

System Requirements

  • Ubuntu 22.04/24.04: Can be compiled and run directly.
  • Windows 10/11: Requires WSL to be enabled for compilation and execution.

Build from Source

  1. Clone the Repository
git clone https://github.com/ParrotXray/CureOS.git
cd CureOS
  1. 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
  1. Run (Build / Debug / Run)
  • Build

release

make all

debug

make all-debug
  • Debug

qemu

make debug-qemu

bochs

make debug-bochs
  • Run
make run