LinuxSir.cn,穿越时空的Linuxsir!

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

刚开始LFS,超级菜鸟问个问题

[复制链接]
发表于 2008-11-13 21:44:22 | 显示全部楼层 |阅读模式
LFS-6.3,在5.4.1节中CC="gcc -B/usr/bin/" ../gcc-4.1.2/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared –enable-languages=cconfigure的输出信息里有:
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
请问这是要用主系统的这些工具吗,为什么不用刚刚上一节里binutils安装的
发表于 2008-11-14 01:26:32 | 显示全部楼层
答案在 LFS 手册内,建议先详细阅读手册才动工
回复 支持 反对

使用道具 举报

发表于 2008-11-15 20:37:14 | 显示全部楼层
CC="gcc -B/usr/bin/" ../gcc-4.1.2/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared –enable-languages=cconfigure

命令写错了? --enable-languages=cconfigure?
正确的是    --enable-languages=c
回复 支持 反对

使用道具 举报

发表于 2008-11-16 08:03:57 | 显示全部楼层
楼主应该是说 configure 的输出信息

我看还有一处错误是 --enable 打成 -enable
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-17 12:49:16 | 显示全部楼层
还没沉下去啊。。。
看了几天终于把工具链搞清楚了
那个configure是应该在下一行写的,不是跟c连在一起的
那个--enable没写错,但是在openoffice里连写两个-有时候会被连成一个长的–,应该是我复制的时候没注意到。
回复 支持 反对

使用道具 举报

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

本版积分规则

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