简体   繁体   English

如何为MIPS交叉编译?

[英]How to cross-compile for MIPS?

I have a DVB receiver ( set-top box ) similar like Dreambox and it has MIPS cpu 我有一个像Dreambox一样的DVB接收器( 机顶盒 ),它具有MIPS CPU

It has embedded Linux and I can connect to it with telnet 它具有嵌入式Linux ,我可以通过telnet连接到它

Question is how to compile simple " Hello World " application in C ? 问题是如何用C编译简单的“ Hello World ”应用程序? Where to get toolchain , SDK ? 从哪里获得工具链SDK

您应该使用Codescape SDK

http://www.linux-mips.org/wiki/Toolchains http://www.linux-mips.org/wiki/工具链

There you have some prebuilt cross compilers, or the instruction to build GCC as a cross compiler. 那里有一些预建的交叉编译器,或将GCC编译为交叉编译器的说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM