소스 검색

Document workaround for multilib vs. cross-compiler conflict.

Reported by igorpupkinable. #1126
Mike Pall 1 년 전
부모
커밋
1b38c73655
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      doc/install.html

+ 4 - 1
doc/install.html

@@ -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
 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>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>
 You need to specify <tt>TARGET_SYS</tt> whenever the host OS and the