Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • How to install and run multiple versions of GCC compilers

    Posted on

    I am trying to compile C++ source code that was developed in late 1990's. I believe the author developed and tested the code using GCC compiler that was the latest at that time (I guess it might be GCC-2.8.0). When I tried to compile the source code using gcc-4.8.5 that is installed on my system I am running into several compilation errors. I thought these problems could be resolved by installing the GCC-2.8.0 compiler. So I want to know the procedure that I should use to install GCC 2.8.0 along with gcc-4.8.5. Does anybody know or have any experience doing this ? I am currently running RHEL 7.3 with gcc-4.8.5-11.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat