随笔分类 -  LFS

摘要:$tar xf Glibc2.3.4.tar.bz2 $mkdir build_glibc $cd build_glibc ../glibc-2.3.4/configure --prefix=/tools \ --disable-profile --enable-add-ons \ --enable 阅读全文
posted @ 2016-09-09 11:18 巫谢 阅读(4021) 评论(0) 推荐(0) 编辑
摘要:内存不足导致的编译出错,解决方法是增加swapfile。 root@ubuntu:home# swapon -s Filename Type Size Used Priority 创建swapfile大小512M; root@ubuntu:home# dd if=/dev/zero of=/swap 阅读全文
posted @ 2016-09-08 17:02 巫谢 阅读(3209) 评论(0) 推荐(1) 编辑
摘要:在http://forums.fedoraforum.org/showthread.php?t=267449中找到的解决方法 $LFS/sources/binutils-2.15.91.0.2/gprof/中将*.m都删除掉,毕竟.m已经预处理过了,不需要存在 阅读全文
posted @ 2016-09-07 16:50 巫谢 阅读(1336) 评论(0) 推荐(0) 编辑
摘要:安装lfs时编译binutils出错: ../../sources/binutils-2.15.91.0.2/gas/config/tc-i386.h:457:32: error: array type has incomplete element type extern const struct 阅读全文
posted @ 2016-09-07 16:18 巫谢 阅读(1748) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示