aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2023-12-10 15:45:10 +0100
committerMike Pall <mike>2023-12-10 15:45:10 +0100
commit1b38c736550004fba1b9712c1a5788b3eefa49be (patch)
treecea3eaeca9e84dcb09306b7856a85d571e1b6f09
parent856423f5dabb5bbf86d36816a247663e90c69d35 (diff)
downloadluajit-1b38c736550004fba1b9712c1a5788b3eefa49be.tar.gz
luajit-1b38c736550004fba1b9712c1a5788b3eefa49be.tar.bz2
luajit-1b38c736550004fba1b9712c1a5788b3eefa49be.zip
Document workaround for multilib vs. cross-compiler conflict.
Reported by igorpupkinable. #1126
-rw-r--r--doc/install.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/install.html b/doc/install.html
index 21866315..7f2e40e4 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -240,7 +240,10 @@ for any supported target, as long as both architectures have the same
240pointer size. If you want to cross-compile to any 32 bit target on an 240pointer size. If you want to cross-compile to any 32 bit target on an
241x64 OS, you need to install the multilib development package (e.g. 241x64 OS, you need to install the multilib development package (e.g.
242<tt>libc6-dev-i386</tt> on Debian/Ubuntu) and build a 32 bit host part 242<tt>libc6-dev-i386</tt> on Debian/Ubuntu) and build a 32 bit host part
243(<tt>HOST_CC="gcc -m32"</tt>). 243(<tt>HOST_CC="gcc -m32"</tt>). On some distro versions, multilib conflicts
244with cross-compilers. The workaround is to install the x86 cross-compiler
245package <tt>gcc-i686-linux-gnu</tt> and use it to build the host part
246(<tt>HOST_CC=i686-linux-gnu-gcc</tt>).
244</p> 247</p>
245<p> 248<p>
246You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the 249You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the