LinuxSir.cn,穿越时空的Linuxsir!

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

第二次编译gcc碰到的麻烦

[复制链接]
发表于 2004-10-5 12:24:03 | 显示全部楼层 |阅读模式
用的是lfs 5.0,按照官方的文档一步步下来,在第二此编译gcc 3.3.1的时候出现如下错误:

。。
configure: error:
The following requested languages were not found: c++
The following languages were available: c treelang
Configure in /mnt/lfs/sources/lfs-packages/gcc-build/gcc failed, exiting.

看样子是没找到c++,下面是我的编译参数:

lfs:/mnt/lfs/sources/lfs-packages/gcc-build$../gcc-3.3.1/configure --prefix=/tools --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++

请教请教:thank
发表于 2004-10-6 11:27:31 | 显示全部楼层
要c++的话gcc-g++-3.3.1.tar.bz2也要解压吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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