使用交叉工具链在Linux上构建软件 [英] Build software on Linux using cross toolchain

查看:151
本文介绍了使用交叉工具链在Linux上构建软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

摩托罗拉提供了一个用于为其机顶盒VIP1710构建软件的交叉编译工具链。你必须将它解压缩到 / usr / local / kreatel ,并且你有一个构建工具树:

Motorola provides a cross compiling toolchain for building Software for their Set Top Box VIP1710. You have to extract it to /usr/local/kreatel and there you have a tree of build tools:

./bin
./bin/mipsel-kreatel-linux-gnu-addr2line
./bin/mipsel-kreatel-linux-gnu-ar
./bin/mipsel-kreatel-linux-gnu-as
./bin/mipsel-kreatel-linux-gnu-c++
./bin/mipsel-kreatel-linux-gnu-c++filt
./bin/mipsel-kreatel-linux-gnu-cpp
./bin/mipsel-kreatel-linux-gnu-g++
./bin/mipsel-kreatel-linux-gnu-gcc
...
./include
./lib


现在我如何使这些 configure

推荐答案

- 使用我的交叉编译工具而不是我的系统'主机参数进行配置,如下所示

the --host parameter to configure, like this

./configure --host=arm-9tdmi-linux-gnu

其中arm-9tdmi-linux-gnu是我的目标系统的标识 - 您可以在一个crosstool安装btw中有多个目标。

where arm-9tdmi-linux-gnu is the identfication of the target system in my case - you can have multiple targets in one crosstool installation btw.

这篇关于使用交叉工具链在Linux上构建软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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