随笔分类 - 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
阅读全文
摘要:内存不足导致的编译出错,解决方法是增加swapfile。 root@ubuntu:home# swapon -s Filename Type Size Used Priority 创建swapfile大小512M; root@ubuntu:home# dd if=/dev/zero of=/swap
阅读全文
摘要:在http://forums.fedoraforum.org/showthread.php?t=267449中找到的解决方法 $LFS/sources/binutils-2.15.91.0.2/gprof/中将*.m都删除掉,毕竟.m已经预处理过了,不需要存在
阅读全文
摘要:安装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
阅读全文