与code编译的Sourcery GCC [英] Compile GCC with Code Sourcery

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

问题描述

是否有可能编译原生GCC针对ARM(主机== ==目标ARM)使用code的Sourcery G ++?
如果这是不可能的,我可以使用的crosstool-NG构建交叉编译,然后使用这个编译原生ARM GCC?

Is it possible to compile native GCC for ARM (host == target == ARM) using Code Sourcery G++? If it is not possible, could I use crosstool-NG to build the cross-compile and then using this one for compiling the native ARM GCC?

感谢您,

编辑:至于为什么:我创造我自己的的BeagleBoard 发行...

as to why: I'm creating my own distro for beagleboard...

推荐答案

codeSourcery规定仅适用于Linux / x86平台和Windows prebuilt工具链(见主机系统要求的这里)。如果你想要一个原生ARM的工具链,你应该能够建立使用交叉编译器之一。如果你想要一个prebuilt一个,你可以尝试一些现有的ARM发行版,如 Debian的臂,或原住民的Linux (它是由在QEMU中运行,但你可以大概从提取编译它和本地运行)。

CodeSourcery provides prebuilt toolchains only for Linux/x86 and Windows (see "Host System Requirements" here). If you want a native ARM-hosted toolchain, you should be able to build one using a cross-compiler. If you want a prebuilt one, you can try some of the existing ARM distros such as Debian-arm, or Aboriginal Linux (it's made to be run in QEMU but you can probably extract the compiler from it and run natively).

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

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