我的scratchbox 2安装使用ARM gcc构建来编译ARM目标。我该如何解决?

时间:2021-05-15 03:17:29

I'm using scratchbox 2, the maemo development cross-compilation environment. When compiling code for the ARM target, I think scratchbox 2 is using the native ARM gcc compiler, which runs very slow on my x86 machine.

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

I think it should be using an ARM cross-compiler, compiled for x86, that runs much faster.

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

Sorry for the lack of details for now, but is there any way I can fix this?

对不起,现在缺乏细节,但有什么办法可以解决这个问题吗?

1 个解决方案

#1


After wrestling with this for a really long time, it seems the best solution is to simply reinstall Scratchbox 2.

经过这么长时间的摔跤之后,最好的解决办法就是简单地重新安装Scratchbox 2。

Make sure to delete the following directories:

确保删除以下目录:

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

And then run:

然后运行:

apt-get install maemo-sdk --reinstall

And then install scratchbox2 however you did before.

然后安装scratchbox2,不过你以前做过。

#1


After wrestling with this for a really long time, it seems the best solution is to simply reinstall Scratchbox 2.

经过这么长时间的摔跤之后,最好的解决办法就是简单地重新安装Scratchbox 2。

Make sure to delete the following directories:

确保删除以下目录:

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

And then run:

然后运行:

apt-get install maemo-sdk --reinstall

And then install scratchbox2 however you did before.

然后安装scratchbox2,不过你以前做过。