利用cross tool制作交叉编译工具链,编译binutils error
g++: internal compiler error: Killed (program cc1plus) [ERROR] make[5]: *** [powerpc.o] Error 4 [ERROR] make[4]: *** [all-recursive] Error 1 [ERROR] make[3]: *** [all] Error 2 [ERROR] make[2]: *** [all-gold] Error 2 [ERROR] make[1]: *** [all] Error 2
在网上找到一些相关的帖子,原因可能是内存溢出导致,可以参考这个链接.
按照帖子的说法,要增加SWAP虚拟内存的大小, 于是乎我又在ubuntu 下ct-ng 编译了一把,在编译到binutils的时候查看内存的使用情况