【问题标题】:Force freetype to recognize cross-compile强制 freetype 识别交叉编译
【发布时间】: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

奇怪的是buildhost是不同的,所以我不太明白,为什么它认为它不会交叉编译。有谁知道如何强制配置脚本使用交叉编译?

【问题讨论】:

  • 你如何配置freetype?你还为哪个目标编译?可以分享一下让我看看吗
  • 看第一行。有确切的命令。

标签: cross-compiling configure autoconf freetype


【解决方案1】:

根据 Freetype 分发的 docs/INSTALL.CROSS 文件,您应该使用 both --host= --build= 选项。我不知道它是否会起作用,但它确实值得一试。我也会像你一样添加CC_BUILD

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-09-10
    • 1970-01-01
    • 2014-09-26
    • 1970-01-01
    • 1970-01-01
    • 2023-01-03
    • 1970-01-01
    • 2011-03-13
    相关资源
    最近更新 更多