|
楼主 |
发表于 2008-6-22 14:02:47
|
显示全部楼层
Post by gantleman;1865533
ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
=======================================================
gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' > `dirname $(gcc -print-libgcc-file-name)`/specs
=======================================================
GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &&
find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &&
rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &&
unset GCC_INCLUDEDIR
我是分成这3部分执行的执行后tools下面的全部被清空了。。。。。编译了五遍了都要崩溃
仔细检查是否有输入错误,特别是标点符号
实在不行就先跳过这部分吧. |
|