LinuxSir.cn,穿越时空的Linuxsir!

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

lfs6.2-1第一遍编译gcc时出错

[复制链接]
发表于 2006-10-2 20:50:39 | 显示全部楼层 |阅读模式
编译gcc时,./configure --prefix=/tools --with-local-prefix=/tools --disable-nls        --enable-shared  --enable-languages=c

creating cache ./config.cache
checking host system type ... i686-pc-linux-gnu
checking target system type ... i686-pc-linux-gnu
checking build system type ... i686-pc-linux-gnu
checking for a BSD compatible install ... /usr/bin/install -c
checking whether ln works ... yes
checking whether ln -s works ... yes
configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details

google了一段时间也没有找到准确的答案,这是怎么一回事?
谢谢~
发表于 2006-10-2 21:16:28 | 显示全部楼层
请看书。。。

Building in the source directory is not supported in this release.
这个版本不支持源代码里面编译。
---
lfs说明,建立外目录来编译gcc.
mkdir -v ../gcc-build
cd ../gcc-build
回复 支持 反对

使用道具 举报

发表于 2006-10-2 21:16:58 | 显示全部楼层
请看书。。。

Building in the source directory is not supported in this release.
这个版本不支持源代码里面编译。
---
lfs说明,建立外目录来编译gcc.
mkdir -v ../gcc-build
cd ../gcc-build
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-2 21:18:08 | 显示全部楼层
谢谢。
看英文文档总是头大,结果一不小心就遗漏一些东西。汗
回复 支持 反对

使用道具 举报

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

本版积分规则

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