关于为 Xscale ARM 构建交叉编译器的建议? [英] Advice on building a cross-compiler for Xscale ARM?

查看:29
本文介绍了关于为 Xscale ARM 构建交叉编译器的建议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 PXA270 Xscale 开发板(类似于 Gumstix),并提供了一个交叉编译器,但它是 GCC 3.3.3.我想学习如何构建我自己的交叉编译器,这样我就可以自定义设置,但是很难让 crosstools 和 crosstools-ng 成功构建工具链.我的主要需求是使用 GCC 4.2.X 和使用软浮动的能力.我正在运行 Ubuntu 9.有没有人对为这样的系统构建工具链有任何建议或建议?

I am playing around with a PXA270 Xscale development board (similar to the Gumstix), and was provided a cross compiler, but it is GCC 3.3.3. I would like to learn how to build my own cross compiler, so I can customize the setup, but have had trouble getting crosstools and crosstools-ng to successfully build a toolchain. My main needs are using GCC 4.2.X and the ability to use soft float. I am running Ubuntu 9. Does anyone have any recommendations or advice on building a toolchain for such a system?

提前致谢,

推荐答案

www.gnuarm.com说明,用于构建您自己的 ARM 交叉编译器以及可用于 下载.他们那里没有 GCC 4.2.x,但我使用与这些说明非常相似的步骤构建了它,没有太多问题.

www.gnuarm.com has instructions for building your own ARM cross compiler as well as binaries available for download. They don't have GCC 4.2.x there, but I've built it using steps pretty similar to those instructions without too many problems.

为什么需要软件浮点数?它会非常缓慢;大多数应用程序只需要使用定点实现(读取:整数).

Why do you want software floating point? It's going to be really slow; most applications only really need to use a fixed point implementation (read: integers).

这篇关于关于为 Xscale ARM 构建交叉编译器的建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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