1
0
Fork 0
mirror of https://gitlab.redox-os.org/redox-os/redox.git synced 2025-12-06 23:15:21 -05:00
1 Troubleshooting
Chris Overcash edited this page 2018-04-18 13:32:14 -07:00

Help! Redox won't compile!

Sometimes things go wrong when compiling. Try the following before opening an issue:

  1. Make sure you have a Redox toolchain (x86_64-unknown-redox-gcc).
    • You can install from .deb packages (https://static.redox-os.org/toolchain/apt/) or build redox-os/libc manually.
  2. Run rustup update
  3. Run make clean pull.
  4. Make sure you have the latest version of Rust nightly! (rustup.rs is recommended for managing Rust versions. If you already have it, run rustup).
  5. Update GNU Make, NASM and QEMU/VirtualBox.
  6. Pull the upstream master branch (git remote add upstream git@github.com:redox-os/redox.git; git pull upstream master).
  7. Update submodules (git submodule update --recursive --init).

and then rebuild!