Git Product home page Git Product logo

Comments (5)

equation314 avatar equation314 commented on May 18, 2024

Please give us more details, like the CPU (intel or Apple Silicon), what app you want to run, and why it doesn't run on your computer.

from arceos.

leer168 avatar leer168 commented on May 18, 2024

Thank you for reply!

I follow the tutorial to study, eg. https://rcore-os.cn/arceos-tutorial-book/ch01-01.html or https://rcore-os.cn/rCore-Tutorial-Book-v3/index.html. Neither mentioned how to run it on MacOS.

image

from arceos.

equation314 avatar equation314 commented on May 18, 2024

The steps to run on macOS are similar to those on linux, please refer to README, but you need to install the corresponding toolchain (e.g., QEMU) for macOS.

from arceos.

leer168 avatar leer168 commented on May 18, 2024

image

After an afternoon, the hello app was successfully run.

image
But qemu-riscv64 was not compiled, so I don’t know what impact this will have.

Configuration steps on MacOS

  1. curl https://sh.rustup.rs -sSf | sh
  2. cargo install cargo-binutils
  3. brew install qemu will failed, so compile from source code:
    3.1 brew install libffi gettext glib pkg-config pixman ninja meson // reference https://wiki.qemu.org/Hosts/Mac - Building QEMU for macOS
    3.2 tar xvJf qemu-7.0.0.tar.xz
    3.3 ./configure --target-list=riscv64-softmmu
    3.4 make
  4. git clone https://github.com/rcore-os/arceos.git
  5. make ARCH=riscv64 A=apps/helloworld run

Thank you again!!!

from arceos.

equation314 avatar equation314 commented on May 18, 2024

qemu-riscv64 was only available on Linux, which requires Linux syscalls.

from arceos.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.