Skip to content

Commit 72ec628

Browse files
authored
Merge pull request #2724 from martin-frbg/loongsonreadme
Update cross-compiling example in README to reflect change in Loongson gcc
2 parents 0db4218 + 26b7f24 commit 72ec628

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Examples:
5858
```sh
5959
make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A
6060
```
61+
or same with the newer mips-crosscompiler put out by Loongson that defaults to the 32bit ABI:
62+
```sh
63+
make HOSTCC=gcc CC='/opt/mips-loongson-gcc7.3-linux-gnu/2019.06-29/bin/mips-linux-gnu-gcc -mabi=64' FC='/opt/mips-loongson-gcc7.3-linux-gnu/2019.06-29/bin/mips-linux-gnu-gfortran -mabi=64' TARGET=LOONGSON3A
64+
```
6165

6266
* On an x86 box, compile this library for a loongson3a CPU with loongcc (based on Open64) compiler:
6367
```sh

0 commit comments

Comments
 (0)