Results 1 to 2 of 2

Thread: Installing an older gcc compiler on RHEL 5.3

  1. #1
    Junior Member
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Installing an older gcc compiler on RHEL 5.3

    Hello,

    I have RHEL Box (5.3) which has gcc 4.3.1 compiler installed. However, I have a code base which needs gcc 3.3.* compiler.

    Can someone guide me through the steps to install and make sure the gcc compile picks up the right compiler version?

    Thanks,

    Cross

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,498
    Thanks
    17
    Thanked 788 Times in 506 Posts
    Rep Power
    10

    Default

    Try installing compatibility GNU Compiler Collection:
    Code:
    yum search gcc | grep 34

    compat-gcc-34.x86_64 : Compatibility GNU Compiler Collection
    compat-gcc-34-c++.x86_64 : C++ support for compatibility compiler
    compat-gcc-34-g77.x86_64 : Fortran 77 support for compatibility compiler

    To install:
    Code:
    yum install compat-gcc-34 compat-gcc-34-c++
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Centos Linux 5 C / C++ compiler installation
    By raj in forum Getting started tutorials
    Replies: 1
    Last Post: 10th February 2013, 03:14 PM
  2. Installing the correct version of RHEL 5 Advanced Platform.
    By Zepiroth in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 16th March 2009, 10:37 PM
  3. installing gcc compiler on puppy Linux
    By aswink1 in forum Linux software
    Replies: 1
    Last Post: 8th January 2009, 07:29 PM
  4. How to set my own java compiler in linux
    By saras in forum Linux software
    Replies: 2
    Last Post: 15th July 2008, 04:31 AM
  5. Replies: 3
    Last Post: 29th August 2007, 07:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •