您可能知道,Bionic是 Google 用来运行 Android 应用程序的 C 库。有人努力在 Linux 机器上编译它,所以它可以很容易地在 Android 之外使用。这是最新努力的代码,最初称为 Gentoo-bionic。最初的项目是基于 Gentoo 的,但当前的源不是 Gentoo 特定的。我正在使用 Ubuntu。这是代码:
https://github.com/gentoobionic/bionic
这是关于它在 ELC2013 上的介绍:
- http://elinux.org/images/2/25/2013_elc_gentoo_bionic.pdf
- http://free-electrons.com/blog/elc-2013-videos/(声音不好)
我试图在 X86_64 Ubuntu 上编译它,但失败了。我试过了:
./autogen.sh
./configure
我有:
configure: error: unsupported host cpu x86_64
所以我尝试了:
./configure --build=arm-linux --target=arm-linux --host=arm-linux
它配置得很好,但我得到了:
$ make
make: *** No rule to make target `libc/arch-x86/include/machine/cpu-features.h',
needed by `all-am'. Stop.
有人可以提出解决方法吗?