gcc PASS 1 出错
时间:2009-10-31
来源:互联网
我根据 从源代码建立Linux系统系列之(Sysroot LFS 1.1) http://zdbr.net.cn/download/Sysroot-LFS-1.1.htm
做系统时,到第一次编译gcc的时候出现如下错误:
make all-gcc
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-4.4.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../gcc-4.4.2/libiberty/strncmp.c -o strncmp.o
rm -f ./libiberty.a pic/./libiberty.a
i686-pc-linux-gnu.old-ar rc ./libiberty.a \
./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o ./strncmp.o
make[1]: i686-pc-linux-gnu.old-ar: Command not found
make[1]: *** [libiberty.a] Error 127
make[1]: Leaving directory `/slfs/build/gcc-build/libiberty'
make: *** [all-libiberty] Error 2
不知道怎么回事google半天无结果,请高手指点,谢谢
做系统时,到第一次编译gcc的时候出现如下错误:
make all-gcc
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-4.4.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../gcc-4.4.2/libiberty/strncmp.c -o strncmp.o
rm -f ./libiberty.a pic/./libiberty.a
i686-pc-linux-gnu.old-ar rc ./libiberty.a \
./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o ./strncmp.o
make[1]: i686-pc-linux-gnu.old-ar: Command not found
make[1]: *** [libiberty.a] Error 127
make[1]: Leaving directory `/slfs/build/gcc-build/libiberty'
make: *** [all-libiberty] Error 2
不知道怎么回事google半天无结果,请高手指点,谢谢
作者: nohappiness 发布时间: 2009-10-31
问题在这一行
make[1]: i686-pc-linux-gnu.old-ar: Command not found
你没按手册做吧,ar都没生成。
make[1]: i686-pc-linux-gnu.old-ar: Command not found
你没按手册做吧,ar都没生成。
作者: 没本 发布时间: 2009-11-01
应该是和我用的版本有关系吧,我用的都是新版本的,哎,按照手册重下所有源码吧
作者: nohappiness 发布时间: 2009-11-02
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28