Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8741753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:22:20+00:00 2026-06-13T11:22:20+00:00

Would installations of gcc 4.7 and 4.8 peacefully coexist on the same machine? This

  • 0

Would installations of gcc 4.7 and 4.8 peacefully coexist on the same machine? This would initially be a machine with Ubuntu 12.10 (Quantal Quetzal) but may extend it to other machines and distributions later, possibly even my mac (it would be 4.8 and the last supplied apple gcc on Mountain Lion). I am trying to test gcc’s improved diagnostics in 4.8 comparing them to clang’s, hence my need for gcc 4.8.

How do you invoke each installation of gcc if the answer to the above is yes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:22:20+00:00Added an answer on June 13, 2026 at 11:22 am

    First off: Yes, you can have multiple installations of gcc on your machine.

    If you install gcc from the default Ubuntu repositories you can call the different versions using gcc-4.6, gcc-4.7, …. The Ubuntu toolchain test repository ubuntu-toolchain-r/test has a gcc-4.7 package. AFAIK it does not have a gcc-4.8 package yet. There exist other repositories which maintain gcc packages (even for the current 4.8 development versions; just google for ubuntu gcc repository).

    Other than that you can always also compile gcc from source ( http://gcc.gnu.org/install/index.html ) and have multiple versions ( http://gcc.gnu.org/faq.html#multiple ).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Would be possible to extend this kind of layout so that I can have
I would like to count the number of installations of each Member in a
Would love some opinions on this problem I'm trying to workout. I'm trying to
I have tried this on a few installations of the 3.1.3 SDK. When I
Until recently we were using Inno Setup for our installations, something I would like
I know that in principle this is probably undefined behaviour, but in the interest
I've set up a distributed Hadoop environment within VirtualBox: 4 virtual Ubuntu 11.10 installations,
I do have an Ubuntu Server 12.04 VM using VMWare Fusion that i would
I would like to know about the perl module installations in unix. Can anyone
Most of the perl installations I use have uselongdouble undefined, but d_longdbl defined. Literally

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.