GCC在ARM / Android的 [英] gcc ON arm/android

查看:243
本文介绍了GCC在ARM / Android的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚买了一台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.

这篇关于GCC在ARM / Android的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆