![]() Next, make sure you have the packages needed to compile the toolchain: If you don't have that much space, consider using an MIT Athena machine.įirst, clone the repository for the RISC-V GNU Compiler Toolchain: You will need a fair amount of disk space to compile usr/local on a modern Ubuntu installation. We assume that you are installing the toolchain into ![]() (The version of QEMU on "buster" is too old, so you'd have to get that separately.) Installing on Arch sudo pacman -S riscv64-linux-gnu-binutils riscv64-linux-gnu-gcc riscv64-linux-gnu-gdb qemu-arch-extra Other Linux distributions (i.e. Make sure you are running either "bullseye" or "sid" then run: sudo apt-get install git build-essential gdb-multiarch qemu-system-misc gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu PATH=$PATH:/usr/local/opt/riscv-gnu-toolchain/bin To add the appropriate directory to $PATH. The brew formula may not link into /usr/local. Next, install the RISC-V compiler toolchain: Next, install Homebrew, a package manager for macOS: If you are having trouble getting things set up, please come by to office ![]() Machine, you can install the tools directly or use virtual machine with Linux Of these tools are located in the 6.828 locker: just type ' add -fĦ.828' to get access to them. If you use the MIT Athena machines that run Linux, then all We highly recommend using a Debathena machine, such as, to For this class you'll need the RISC-V versions of a couple different tools:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |