LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 731|回复: 3

初装LFS,请教问题?

[复制链接]
发表于 2004-6-18 09:47:13 | 显示全部楼层 |阅读模式
我在编译Binutils时就遇见问题了:
我ln -s /mnt/lfs/tools后,把Binutils解压到home/lfs/,然后在/home/lfs/Binutils  下面编译:./configure  --prefix=/tools --disable-nls ,过程中没有报错,可是为什么我回头去看/tools目录下是空的。/tools的权限是777阿,我查看了所有文件,权限是没问题的。请大家帮忙。
发表于 2004-6-18 10:26:58 | 显示全部楼层
没问题啊,等你进行完了make install,
/tools下就有文件了! 呵呵。
 楼主| 发表于 2004-6-18 10:36:39 | 显示全部楼层
谢谢赐教!
 楼主| 发表于 2004-6-18 11:16:13 | 显示全部楼层
编译gcc-3.3.2如下的一些错误:
lfs:~/gcc-build$ ./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/lfs/gcc-build using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
lfs:~/gcc-build$
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表