mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Document workaround for multilib vs. cross-compiler conflict.
Reported by igorpupkinable. #1126
This commit is contained in:
parent
856423f5da
commit
1b38c73655
@ -240,7 +240,10 @@ for any supported target, as long as both architectures have the same
|
|||||||
pointer size. If you want to cross-compile to any 32 bit target on an
|
pointer size. If you want to cross-compile to any 32 bit target on an
|
||||||
x64 OS, you need to install the multilib development package (e.g.
|
x64 OS, you need to install the multilib development package (e.g.
|
||||||
<tt>libc6-dev-i386</tt> on Debian/Ubuntu) and build a 32 bit host part
|
<tt>libc6-dev-i386</tt> on Debian/Ubuntu) and build a 32 bit host part
|
||||||
(<tt>HOST_CC="gcc -m32"</tt>).
|
(<tt>HOST_CC="gcc -m32"</tt>). On some distro versions, multilib conflicts
|
||||||
|
with cross-compilers. The workaround is to install the x86 cross-compiler
|
||||||
|
package <tt>gcc-i686-linux-gnu</tt> and use it to build the host part
|
||||||
|
(<tt>HOST_CC=i686-linux-gnu-gcc</tt>).
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the
|
You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the
|
||||||
|
Loading…
Reference in New Issue
Block a user