+ -
当前位置:首页 → 问答吧 → 刚开始LFS,超级菜鸟问个问题

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

时间:2008-11-14

来源:互联网

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安装的

作者: foxlu   发布时间: 2008-11-14

答案在 LFS 手册内,建议先详细阅读手册才动工

作者: d00m3d   发布时间: 2008-11-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

作者: qufo   发布时间: 2008-11-16

楼主应该是说 configure 的输出信息

我看还有一处错误是 --enable 打成 -enable

作者: d00m3d   发布时间: 2008-11-16

还没沉下去啊。。。
看了几天终于把工具链搞清楚了
那个configure是应该在下一行写的,不是跟c连在一起的
那个--enable没写错,但是在openoffice里连写两个-有时候会被连成一个长的–,应该是我复制的时候没注意到。

作者: foxlu   发布时间: 2008-11-17