diff --git a/doc/install.html b/doc/install.html index 07c55fa6..6fc10002 100644 --- a/doc/install.html +++ b/doc/install.html @@ -142,6 +142,13 @@ operating systems, CPUs and compilers:
+You can cross-compile for a big-endian or little-endian +MIPS target on x86 or x64 host systems using a standard +GNU cross-compile toolchain (Binutils, GCC, EGLIBC). +The CROSS prefix may vary depending on the --target +of the toolchain: +
++# MIPS big-endian +make HOST_CC="gcc -m32" CROSS=mips-linux- ++
+# MIPS little-endian +make HOST_CC="gcc -m32" CROSS=mipsel-linux- ++
Whenever the host OS and the target OS differ, you need to specify TARGET_SYS or you'll get assembler or linker errors. E.g. if you're compiling on a Windows or OSX host for embedded Linux or Android,