gcc ON arm/android [英] gcc ON arm/android

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

问题描述

我刚买了一个 EEE 垫变压器.就像我拥有的​​任何硬件一样,我想在上面安装一个 C 编译器.我知道我可以交叉编译,但我想在设备本身上进行开发.我在谷歌上搜索过,似乎只能找到有关如何为 x86/64 Linux 构建 arm 工具链的页面.想法?

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:

  • 需要有一个 ARM 交叉编译器,可以在您的(例如)x86 机器上运行.所以你的谷歌搜索结果仍然有用.
  • 在为工具链的所有部分运行 configure 时,使用 --host 选项指定您的 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 ON arm/android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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