Update cross-compiling example to reflect change in Loongson gcc
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 18 Jul 2020 12:51:37 +0000 (12:51 +0000)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2020 12:51:37 +0000 (12:51 +0000)
for #2723

README.md

index 6dc3c7b..4e5e3e9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -58,6 +58,10 @@ Examples:
   ```sh
   make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A
   ```
+  or same with the newer mips-crosscompiler put out by Loongson that defaults to the 32bit ABI:
+  ```sh
+  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
+  ```
 
 * On an x86 box, compile this library for a loongson3a CPU with loongcc (based on Open64) compiler:
   ```sh