【问题标题】:My scratchbox 2 installation is using an ARM gcc build to compile for the ARM target. How do I fix this?我的 scratchbox 2 安装使用 ARM gcc 构建来编译 ARM 目标。我该如何解决?
【发布时间】:2010-10-28 08:30:12
【问题描述】:

我使用的是scratchbox 2,maemo 开发交叉编译环境。在为 ARM 目标编译代码时,我认为 scratchbox 2 使用的是本机 ARM gcc 编译器,它在我的 x86 机器上运行非常慢。

我认为它应该使用 ARM 交叉编译器,针对 x86 编译,运行速度要快得多。

抱歉,目前缺少详细信息,但有什么办法可以解决这个问题吗?

【问题讨论】:

  • 你不能在没有模拟器的 x86 机器上运行 ARM 程序......(我怀疑你有)

标签: cross-compiling maemo scratchbox


【解决方案1】:

在纠结了很久之后,似乎最好的解决方案是简单地重新安装 Scratchbox 2。

确保删除以下目录:

~/.maemo-sdk
~/.scratchbox2
/opt/maemo

然后运行:

apt-get install maemo-sdk --reinstall

然后按照你之前的做法安装 Scratchbox2。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-06-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-02-17
    • 2021-07-11
    相关资源
    最近更新 更多