I'm trying to compile a program that requires gcc 3.x. I've decided to install a Linux distro in a virtual machine for this purpose. I've tried Ubuntu 7.10 and Ubuntu 6.06, but these both use gcc 4.x.

What's a good Linux OS to install that uses gcc 3.x?

asked 13 Sep '10, 08:25

Phenom's gravatar image

Phenom
1158
accept rate: 0%

Please accept an answer so the question/answer can be finished.

(20 Apr '11, 13:40) rfelsburg ♦



Cyent could (should?) have elaborated a little. If you follow his link: http://distrowatch.com/table.php?distribution=ubuntu there's a table of components of the various Ubuntus further down the page. The table shows that Ubuntu Hoary (5.04) is the most recent Ubuntu that comes with gcc 3.x (3.3.5)

link

answered 01 Nov '10, 23:54

Robin's gravatar image

Robin
112
accept rate: 0%

edited 02 Nov '10, 00:05

Hi phenom,

You may wish to try puppy linux or mandriva. I hope this is of help.

link

answered 15 Sep '10, 20:53

1jnike's gravatar image

1jnike
961
accept rate: 8%

Use The Source, Luke.

link

answered 18 Oct '10, 03:06

Jeff's gravatar image

Jeff
1
accept rate: 0%

link

answered 01 Nov '10, 21:05

Cyent's gravatar image

Cyent
1
accept rate: 0%

Hi,

If you just want to have gcc-3.X you can manually compile it on your server with some easy steps.

Else you can install the Centos.4.4 or RHEL4 or redhat 7, they have the Gcc-3 by default.

gcc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/specs Configured with: ../configure Thread model: single gcc version 3.0.4

cat /etc/issue Red Hat Linux release 7.2 (Enigma) Kernel \r on an \m

uname -a Linux emalouin 2.4.9-21 #1 Fri Feb 8 02:22:12 EST 2002 i686 unknown

rpm -q glibc glibc-2.2.4-19.3

Regds,

Ash Vashisth

link

answered 02 Nov '10, 03:36

Ash%20Vashisth's gravatar image

Ash Vashisth
1
accept rate: 0%

I guess the best possible way would be to install the gcc 3.x instead of installing the whole OS.

One more point I would like to mention that the program that can be compiled using gcc 3.x can also be compiled using gcc 4.x because they are downward compatible.

link

answered 02 Nov '10, 12:10

abhijit's gravatar image

abhijit
1
accept rate: 0%

Went way way back to past with RHEL4 - most new distro's are at gcc4.x - I believe RHEL4 was like fedora 6:

-bash-3.00$ rpm -qa |grep gcc

libgcc-3.4.6-11.el4_8.1

compat-libgcc-296-2.96-132.7.2

gcc-java-3.4.6-11.el4_8.1

gcc-g77-3.4.6-11.el4_8.1

gcc-c++-3.4.6-11.el4_8.1

libgcc-3.4.6-11.el4_8.1

gcc-3.4.6-11.el4_8.1

link

answered 28 Jan '11, 20:10

joe%204's gravatar image

joe 4
1
accept rate: 0%

Download the source and compile from here http://gcc.gnu.org/releases.html

link

answered 19 Apr '11, 18:17

Ron's gravatar image

Ron ♦
9361618
accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90
×4

Asked: 13 Sep '10, 08:25

Seen: 6,722 times

Last updated: 20 Apr '11, 13:40

powered by OSQA