首先做一下binutils
然后安装mpc,mpfr,gmp,要不会报错
下载并安装gmp.mpfr,mpc就可以了
然后接着开始编译
然后编译gcc
这样,交叉编译器就做好了,看一下
可以交叉编译一下linuxkernel试试
编译完成以后,可以看一下编译出来以后的文件
搞定
本文分享自 作者个人站点/博客 前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!