Skip to content

Commit edc8901

Browse files
djtodoroaleksapaunovic-htec
authored andcommitted
README: Add BE instructions
1 parent 3ca8159 commit edc8901

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@ If `make check-binutils` errors, check the [following documentation](./macos-bui
130130

131131
When `make check-binutils` finishes successfully, you run the build normally with `make` or `make linux`.
132132

133+
### Big Endian configuration
134+
135+
To build either cross-compiler with support for big endian targets, run the following command:
136+
137+
```
138+
./configure --prefix=/opt/riscv --with-endian=big
139+
make (target)
140+
```
141+
133142
### Troubleshooting Build Problems
134143

135144
Builds work best if installing into an empty directory. If you build a

0 commit comments

Comments
 (0)