【发布时间】:2013-10-14 16:46:22
【问题描述】:
我尝试交叉编译 freetype,但它的 configure / autoconf-cruft 似乎失败了。配置输出为:
cd builds/unix; /bin/sh ./configure '--host=le32-unknown-nacl' 'CC_BUILD=/usr/bin/cc'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... le32-unknown-nacl
checking for le32-unknown-nacl-gcc... /home/andreas/Projects/emscripten/emcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
奇怪的是build和host是不同的,所以我不太明白,为什么它认为它不会交叉编译。有谁知道如何强制配置脚本使用交叉编译?
【问题讨论】:
-
你如何配置freetype?你还为哪个目标编译?可以分享一下让我看看吗
-
看第一行。有确切的命令。
标签: cross-compiling configure autoconf freetype