ubuntu下安装gcc4.4.3....已经解压成了目录了,但是不知道执行什么来安装

honemay 2010-04-02 04:14:11
已经解压成了gcc-4.4.3目录了,但是不知道该怎么做了
照网上的./configure,install-sh,都不行
我用./configure就会报C compiler cannot create executables 错误
目录下没有install.sh,只有install-sh...
到底该怎么弄啊。。大大们帮忙啊。。
gcc4.4.3我是自己下的gcc-4.4.3.tar.bz2。。。。。。
急....................
...全文
928 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
CheryStrive 2010-04-08
  • 打赏
  • 举报
回复
sudo apt-get install gcc-4.4.3
tetsuya 2010-04-08
  • 打赏
  • 举报
回复
如果是下的源代码 那么系统本身需要低版本的 GCC的吧
还不如直接下 安装包呢
fishly_0 2010-04-07
  • 打赏
  • 举报
回复
mark
honemay 2010-04-02
  • 打赏
  • 举报
回复
按照网上的安装方法,执行这个总是错
sudo /home/ttpod/gcc-4.4.3/configure --prefix=/usr/local/gcc-4.4.3/
错误如下:
checking for C compiler default output file name... configure: error: in `/usr/local/gcc-4.4.3':
configure: error: C compiler cannot create executables

实在不行了。。。搞不懂,到底我该怎么弄
honemay 2010-04-02
  • 打赏
  • 举报
回复
就这3个东西,,搞死我了
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.3.1) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
honemay 2010-04-02
  • 打赏
  • 举报
回复
回1楼,用过这个命令,每次给我装的都是4.3.2,,而那个版本不行
到后面我需要装build-essential,总是说需要GCC 4.4.3.
l2y3n2 2010-04-02
  • 打赏
  • 举报
回复
sudo apt-get install gcc

23,126

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧