diff options
author | Mike Pall <mike> | 2023-12-10 15:45:10 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2023-12-10 15:45:10 +0100 |
commit | 1b38c736550004fba1b9712c1a5788b3eefa49be (patch) | |
tree | cea3eaeca9e84dcb09306b7856a85d571e1b6f09 /doc | |
parent | 856423f5dabb5bbf86d36816a247663e90c69d35 (diff) | |
download | luajit-1b38c736550004fba1b9712c1a5788b3eefa49be.tar.gz luajit-1b38c736550004fba1b9712c1a5788b3eefa49be.tar.bz2 luajit-1b38c736550004fba1b9712c1a5788b3eefa49be.zip |
Document workaround for multilib vs. cross-compiler conflict.
Reported by igorpupkinable. #1126
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.html | 5 |
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 | |||
240 | pointer size. If you want to cross-compile to any 32 bit target on an | 240 | pointer size. If you want to cross-compile to any 32 bit target on an |
241 | x64 OS, you need to install the multilib development package (e.g. | 241 | x64 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 |
244 | with cross-compilers. The workaround is to install the x86 cross-compiler | ||
245 | package <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> |
246 | You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the | 249 | You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the |