improve readme

This commit is contained in:
Minecon724 2024-10-19 11:52:56 +02:00
parent 3864104e67
commit b7eca608fb
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -14,7 +14,9 @@ Emulator exit codes:
Compile: Compile:
0. Requirements: `libelf` 0. Requirements: `libelf`
1. `make` - should display no warnings 1. ```
make
``` - should display no warnings
2. Executable is `build/criscv` 2. Executable is `build/criscv`
Compile programs: Compile programs:
@ -24,6 +26,6 @@ Compile programs:
``` ```
3. `program.bin` is the binary file with the program, pass it as an argument 3. `program.bin` is the binary file with the program, pass it as an argument
rv32i, ilp32 compatible toolchain for 64bit Linux: https://lfs.m724.eu/toolchain.tar.zst `adaa74f263dcba430da588b1109bc3b90bd90a84c67b06213bd03a7bbacd1a2a` \ rv32i, ilp32 compatible toolchain for 64bit Linux: [download](https://lfs.m724.eu/toolchain.tar.zst) `adaa74f263dcba430da588b1109bc3b90bd90a84c67b06213bd03a7bbacd1a2a` \
Or just the stuff necessary to make a binary file: https://lfs.m724.eu/toolchainlite.tar.zst `55e79dff7ba4093dedb8151461508fc157525ad89615d49d737845af03d1643f` \ Or just the stuff necessary to make a binary file: [download](https://lfs.m724.eu/toolchainlite.tar.zst) `55e79dff7ba4093dedb8151461508fc157525ad89615d49d737845af03d1643f` \
Those were compiled with `./configure --prefix=$(pwd)/../toolchain --with-arch=rv32i --with-abi=ilp32` and `make` Those were compiled with `./configure --prefix=$(pwd)/../toolchain --with-arch=rv32i --with-abi=ilp32` and `make`