Re: I need to install gcc 3.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 July 2011 22:37,  <linux@xxxxxxxxxxxxxxx> wrote:
> I need to install gcc 3.0.1 on a machine which currently has RHEL 5.2.1, and
> subsequently gcc 4.1.2 (I think) installed on it.
>
> How do I do this?  Is there a readme on the gcc.gnu.org site?  I haven't
> found one yet.

You go to http://gcc.gnu.org/ and look on the right, under
"Documentation", and click on "Installation".

Those instructions are for the current release of GCC.  Installation
instructions for 3.0.1 are included in the tarball.

> I downloaded the source gcc-3.0.1.tar.bz2, from
> http://fileboar.com/gcc/old-releases/gcc-3/, but I assume there are other
> dependencies.  How can I determine the dependencies?  The machine I am
> installing this on does not have access to the internet so I want to make
> sure I download all packages the first time 'round.

See the bundled instructions in the 3.0.1 tarball.

You *might* find that 3.0.1 doesn't build with 4.1.2 (e.g. if it
relies on non-portable code which was not accepted by GCC 4.1), in
which case one option is to use 4.1.2 to build another old version,
say 3.4.5, then use that to build the earlier version.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux