当前位置: 技术问答>linux和unix
gcc2.95.3的安装问题
来源: 互联网 发布时间:2015-05-30
本文导语: 我在安装gcc2.95.3时,执行 ../gcc-2.95.3/configure --host=i686-pc-linux-gnu --prefix=/usr/local --enable-shared --enable-languages=c --enable-threads=posix 后出现如下信息: Created "Makefile" in /root/gcc-2-build using "mh-frag" and "mt-frag" cc: installati...
我在安装gcc2.95.3时,执行
../gcc-2.95.3/configure --host=i686-pc-linux-gnu --prefix=/usr/local --enable-shared --enable-languages=c --enable-threads=posix
后出现如下信息:
Created "Makefile" in /root/gcc-2-build using "mh-frag" and "mt-frag"
cc: installation problem, cannot exec `cpp0': No such file or directory
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
不知要如何安装cc,有高手能指点一下吗?
../gcc-2.95.3/configure --host=i686-pc-linux-gnu --prefix=/usr/local --enable-shared --enable-languages=c --enable-threads=posix
后出现如下信息:
Created "Makefile" in /root/gcc-2-build using "mh-frag" and "mt-frag"
cc: installation problem, cannot exec `cpp0': No such file or directory
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
不知要如何安装cc,有高手能指点一下吗?
|
你的系统里原来有编译系统吗?如果没有,找个编译好的gcc安装。
|
呵呵。重新安装2.96,然后编译2.95。
|
没有鸡,怎么生蛋阿?
|
gcc这只鸡生蛋就是麻烦。只能先找个编译好的cc再来编译新的cc,不过2.95也太老了。
|
你都把鸡杀了,谁去孵蛋啊?
|
修改你们的程序吧,应该是你们开发的程序存在问题