开发者

Installing gcc 4.4.3 on Ubuntu 9.04

I have Ubuntu 9.04 and need to install gcc 4.4.3. Does anyone know how would I do that?

I can't do it with any other versions except maybe gcc 4.4.x.

Currently ubuntu 9.04 has only 4.3.3 available but that is not sufficient for开发者_如何学JAVA me.

Thank you in advance!


try sudo apt-get install gcc=4.4.3

I'm not sure if that's the exact version, but that's how you specify which version you want.


You can build gcc 4.4.3 from source - http://gcc.gnu.org/install/

Or you can install from jaunty repository - http://packages.ubuntu.com/ru/jaunty/gcc

Add in your /etc/apt/sources.list - deb http://cz.archive.ubuntu.com/ubuntu jaunty main

Then

sudo apt-get update

sudo apt-get install gcc


GCC is not that hard to compile, even if you do the entire bootstrap compile.


You can try:

  • Updating Ubuntu: come on, it's free, don't keep the old stuff lingering around...

  • installing the .deb packages from a later Ubuntu release. I would advise against using the full repository, but it might be you need to go dependency hunting (for the right version of glibc, libstdc++ etc.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜