假定你已经安装好了Gentoo基本系统,参考见这里。
下面的工作很简单:
1. 安装crossdev
#emerge sys-devel/crossdev
2. 生成工具
参见:
用Crossdev安装MIPS交叉编译工具链 http://www.linuxidc.com/Linux/2012-03/56735.htm
//crossdev -S --ex-gdb --without-headers -t mipsel-unknown-linux-gnu
其中提示
* You need to specify an output overlay. Please use --ov-output or set
* PORTDIR_OVERLAY in your make.conf. A standard setting is: /usr/local/porta
可以在后面附加参数即可 --ov-output=/usr/local/portage/
此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/57406.html