Skip to content

Commit d0193d1

Browse files
XYenChicmuellner
authored andcommitted
README: Add format for copy
1 parent 1a66671 commit d0193d1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ so `--recursive` or `git submodule update --init --recursive` is not needed.
1616

1717
### Prerequisites
1818

19-
Several standard packages are needed to build the toolchain.
19+
Several standard packages are needed to build the toolchain.
2020

2121
On Ubuntu, executing the following command should suffice:
2222

@@ -25,7 +25,7 @@ On Ubuntu, executing the following command should suffice:
2525
On Fedora/CentOS/RHEL OS, executing the following command should suffice:
2626

2727
$ sudo yum install autoconf automake python3 libmpc-devel mpfr-devel gmp-devel gawk bison flex texinfo patchutils gcc gcc-c++ zlib-devel expat-devel libslirp-devel
28-
28+
2929
On Arch Linux, executing the following command should suffice:
3030

3131
$ sudo pacman -Syu curl python3 libmpc mpfr gmp base-devel texinfo gperf patchutils bc zlib expat libslirp
@@ -91,7 +91,7 @@ To build either cross-compiler with support for both 32-bit and
9191
64-bit, run the following command:
9292

9393
./configure --prefix=/opt/riscv --enable-multilib
94-
94+
9595
And then either `make`, `make linux` or `make musl` for the Newlib, Linux
9696
glibc-based or Linux musl libc-based cross-compiler, respectively.
9797

@@ -104,7 +104,7 @@ using the `--print-multi-lib` flag on either cross-compiler.
104104
Linux toolchain has an additional option `--enable-default-pie` to control the
105105
default PIE enablement for GCC, which is disable by default.
106106

107-
To customize the enabled languages, use option `--with-languages=`. For example,
107+
To customize the enabled languages, use option `--with-languages=`. For example,
108108
if you want to enable `c,c++,fortran`, use `./configure --with-languages=c,c++,fortran`.
109109
This option only takes effect for the GNU toolchain.
110110

@@ -218,8 +218,8 @@ This flag is particularly useful for developers testing and emulating full RISC-
218218
The Dejagnu test suite has been ported to RISC-V. This can be run with a
219219
simulator for the elf and linux toolchains. The simulator can be selected
220220
by the SIM variable in the Makefile, e.g. SIM=qemu, SIM=gdb, or SIM=spike
221-
(experimental).In addition, the simulator can also be selected with the
222-
configure time option `--with-sim=`.However, the testsuite allowlist is
221+
(experimental).In addition, the simulator can also be selected with the
222+
configure time option `--with-sim=`.However, the testsuite allowlist is
223223
only maintained for qemu.Other simulators might get extra failures.
224224

225225
#### Additional Prerequisite
@@ -279,12 +279,12 @@ that are being executed using the environment variable `RUNTESTFLAGS`.
279279
To restrict a test run to only RISC-V specific tests
280280
the following command can be used:
281281

282-
RUNTESTFLAGS="riscv.exp" make report
282+
RUNTESTFLAGS="riscv.exp" make report
283283

284284
To restrict a test run to only RISC-V specific tests with match the
285285
pattern "zb*.c" and "sm*.c" the following command can be used:
286286

287-
RUNTESTFLAGS="riscv.exp=zb*.c\ sm*.c" make report
287+
RUNTESTFLAGS="riscv.exp=zb*.c\ sm*.c" make report
288288

289289
#### Testing GCC, Binutils, and glibc of a Linux toolchain
290290

@@ -490,8 +490,8 @@ sources is among them. The flag `--enable-host-gcc` does exaclty that:
490490

491491
### FAQ
492492
#### Ensuring Code Model Consistency
493-
If parts of newlib are going to be replaced with an external library (such as with [libgloss-htif](https://github.com/ucb-bar/libgloss-htif) for Berkeley Host-Target Interface),
494-
you should take care to ensure that both newlib and the external library are built using the same code model. For more information about RISC-V code models,
493+
If parts of newlib are going to be replaced with an external library (such as with [libgloss-htif](https://github.com/ucb-bar/libgloss-htif) for Berkeley Host-Target Interface),
494+
you should take care to ensure that both newlib and the external library are built using the same code model. For more information about RISC-V code models,
495495
[read this SiFive blog article](https://www.sifive.com/blog/all-aboard-part-4-risc-v-code-models).
496496

497497
Errors that indicate a code model mismatch include "relocation overflow" or "relocation truncated" errors from the linker being unable to successfully relocate symbols in the executable.

0 commit comments

Comments
 (0)