在gentoo上安装 mips64el-st-linux-gnu-交叉编译工具链

假定你已经安装好了gentoo基本系统,参见:http://www.gentoo.org/doc/zh_cn/gentoo-x86-quickinstall.xml

下面的工作很简单:

1. 安装crossdev

#emerge sys-devel/crossdev

2. 生成工具

参见:

用crossdev安装mips交叉编译工具链

//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/

 


你可能感兴趣的:(工作,工具,output)