任务二:ArceOS 下载、编译和运行

ArceOS GitHub 网址:https://github.com/rcore-os/arceos ArceOS 介绍 PPT:https://learningos.github.io/os-lectures/oslabs/biglabs.html

  1. 克隆仓库

    git clone https://github.com/rcore-os/arceos.git
    
  2. 编译

    1. 安装依赖:

      cargo install cargo-binutils
      
    2. 编译:(默认 ARCH = x86_64)

      # arceos目录下
      make
      

    result

  3. 运行

    1. Hello World:(默认 ARCH = x86_64)

      make justrun
      
    2. 运行特定 APP: