GCC在ARM / Android的GCC、ARM、Android

2023-09-06 01:55:38 作者:书生夺命剑

我刚买了一台Eee Pad的变压器。如同任何硬件我自己,我想有一个C编译器就可以了。我知道我可以交叉编译,但我想做的发展在设备本身。我搜索谷歌和所有我似乎可以看到的是如何建立一个胳膊工具链适用于x86 / 64的Linux页面。思考?

I just got a EEE pad transformer. Like any hardware I own I'd like to have a C compiler on it. I know I can cross compile, but I'd like to do development ON the device itself. I've searched google and all I can seem to find are pages on how to build an arm toolchain for x86/64 Linux. Thoughts?

推荐答案

编译GCC的过程(等)在你的目标上运行应该类似于建立一个交叉编译器,不同点在于,你可以:

The process of building gcc (et al.) to run on your target should be similar to building a cross-compiler, excepting that you will:

需要有你的,例如x86机器上运行的ARM交叉编译。所以,你的googleing的结果仍然有效。 使用 - 主机选项运行时指定的ARM平台配置所有的部分你工具链。 need to have an ARM cross compiler that runs on your, for example, x86 machine. So the results of your googleing are still useful. use the --host option to specify your ARM platform when running configure for all of the parts of your toolchain.