LinuxSir.cn,穿越时空的Linuxsir!

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

哪个linux编译lfs 5.0比较顺利

[复制链接]
发表于 2005-8-23 10:57:38 | 显示全部楼层 |阅读模式
开始学习编译lfs5.0,先向有经验的兄弟们取经
发表于 2005-8-23 12:08:07 | 显示全部楼层
那个发行版都可以,但是一点,最好选择 gcc 版本比较接近的,为什么不用 6.1 ?
回复 支持 反对

使用道具 举报

发表于 2005-8-23 16:42:21 | 显示全部楼层
a very strange question?  using LFS to compile LFS,hihi
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-24 09:06:56 | 显示全部楼层
FC4编译错误(应该是gcc4的问题),RH9第五章锁定(Locking in) Glibc 就总也看不到[Requesting program interpreter: /tools/lib/ld-linux.so.2]这个信息。所以想问问大家都是在哪个版本linux装成功的lfs5.0.

3楼,没装成功lfs呢,怎么“using LFS to compile LFS”, 没什么奇怪的
回复 支持 反对

使用道具 举报

发表于 2005-8-25 18:50:43 | 显示全部楼层
为什么不用LFS的livecd呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-26 08:58:15 | 显示全部楼层
用livecd 有下面的问题
执行:
../gcc-3.3.1/configure --prefix=/tools \
--with-local-prefix=/tools \
--disable-nls --enable-shared \
--enable-languages=c

提示:
Configuring for a i686-pc-linux-gnu host.
*** This configuration is ont supported in the following subdirectories:
target-libstdc++-v3
(Any other directories should still work fine.)
created "makefile" in //mnt/lfs/sources/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 -02 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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