Saturday 18 April 2015

Installing/Upgrading GCC G++ 4.9 in Ubuntu/Linux Mint Machine

GCC GNU Compiler Collection is an open source command-line software designed to act as a compiler for GNU/Linux and BSD-based operating systems. It includes front-ends for numerous programming languages, including C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages.

With GCC you can configure, compile and install GNU/Linux applications in Linux or BSD operating systems using only the source archive of the respective program. However, users don’t need to interact with the compiler, as this is done automatically by the configure and make scripts.

The latest update GCC 4.9.1 is a bug-fix release from the GCC 4.9 branch containing important fixes for regressions and serious bugs in GCC 4.9.0 with more than 88 bugs fixed since the previous release. In addition to that, GCC 4.9.1 release supports OpenMP 4.0 also in Fortran, rather than just in C and C++


Installing GCC 4.9

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt-get update

sudo apt-get install gcc-4.9 g++-4.9

Once installed, run following commands one by one to use gcc 4.8 instead of previous version.

sudo update-alternatives --remove-all gcc 

sudo update-alternatives --remove-all g++

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20

sudo update-alternatives --config gcc

sudo update-alternatives --config g++

Now you can check the current version of gcc in your machine by giving the command

gcc --version


59 comments:

  1. There are many applications in which you need fasteners that are quick, convenient, and rapid fire. When you are facing such construction projects as subflooring, pallet manufacturing, roofing, upholstery, wiring, carpet installation, wall sheathing or any number of other projects or work requirements, you may want to consider a staple gun to make your fastening jobs quick, convenient, and dependable. A staple gun delivers hefty, metal staples into a variety of materials, including plastic, wood, or masonry.torque wrench

    ReplyDelete
  2. Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. https://belltestchamber.com/environmental-chamber/desktop-environmental-climatic-temperature-test-chamber/

    ReplyDelete
  3. There are many applications in which you need fasteners that are quick, convenient, and rapid fire. When you are facing such construction projects as subflooring.keep share some more details..
    AngularJS training in chennai | AngularJS training in anna nagar | AngularJS training in omr | AngularJS training in porur | AngularJS training in tambaram | AngularJS training in velachery

    ReplyDelete
  4. Such an useful article filled with valuable information thank you.
    Data Science Course in Hyderabad

    ReplyDelete
  5. Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.DGBELL benchtop environmental chamber

    ReplyDelete
  6. Woohoo! It is an amazing and useful article. I really like. It's so good and so amazing. I am amazed. I hope you will continue to do your job in this way in the future as well.

    Business Analytics Course in Bangalore

    ReplyDelete
  7. I am overwhelmed by your post with such a beautiful subject. I usually visit their blogs and update myself through the information they contain, but today's blog would be most appreciated. Well done!

    Data Analytics Course in Bangalore

    ReplyDelete
  8. Great article with excellent information found resourceful and enjoyed reading it thank you, looking forward for next blog.
    typeerror nonetype object is not subscriptable

    ReplyDelete
  9. Thanks for sharing great information. I highly recommend you.data science courses

    ReplyDelete
  10. This blog is having the good information. Got a creative work and this is very different one. We have to develop our creativity mind. This blog helps for this. Thank you for this blog. This is very interesting and useful.


    Java Training in Chennai

    Java Course in Chennai

    ReplyDelete
  11. This was really an interesting topic and I kinda agree with what you have mentioned here! when was photography invented

    ReplyDelete
  12. I bookmarked your website because this site contains valuable information. I am very satisfied with the quality and the presentation of the articles. Thank you so much for saving great things. I am very grateful for this site.
    Data Science In Bangalore

    ReplyDelete
  13. They are produced by high level developers who will stand out for the creation of their polo dress. You will find Ron Lauren polo shirts in an exclusive range which includes private lessons for men and women.
    Data Science Training in Pune

    ReplyDelete

  14. This is an excellent post I saw thanks for sharing it. It is really what I wanted to see. I hope in the future you will continue to share such an excellent post.

    Digital Marketing Course

    ReplyDelete
  15. "Very Nice Blog!!!


    Please have a look about "
    data scientist malaysia

    ReplyDelete
  16. Thanks for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our local library but I think I learned more clear from this post. I am very glad to see such wonderful info being shared freely out there.wordpress malware removal plugins

    ReplyDelete
  17. I want to thank you for your efforts in writing this article. I also hope the same better job from you in the future. In fact, her creative writing skills inspired me to start my own Blog Engine blog now. Blogs are really spreading their wings quickly. Your writing is a good example.

    Digital Marketing Course in Bangalore

    ReplyDelete
  18. This is just the information I find everywhere. Thank you for your blog, I just subscribed to your blog. It's a good blog.

    Best Data Science Courses in Bangalore

    ReplyDelete
  19. great article!! sharing these type of articles is the nice one and i hope you will share an article on data science.By giving a institute like 360DigiTMG.it is one the best institute for doing certified courses
    data scientist online course

    ReplyDelete
  20. nice blog!! i hope you will share a blog on Data Science.
    best data science course online

    ReplyDelete
  21. your blog everyday and try to learn something from your blog. Thank you and I'm waiting for your new post.
    best data science institute in hyderabad

    ReplyDelete
  22. This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me..
    machine learning certification in aurangabad

    ReplyDelete
  23. Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign !

    best data science institute in hyderabad

    ReplyDelete
  24. Your content is very unique and understandable useful for the readers keep update more article like this.
    data science course aurangabad

    ReplyDelete
  25. I just found this blog and have high hopes for it to continue. Keep up the great work, its hard to find good ones. I have added to my favorites. Thank You.
    business analytics courses aurangabad

    ReplyDelete
  26. You totally coordinate our desire and the assortment of our data.
    ai course

    ReplyDelete
  27. I am genuinely thankful to the holder of this web page who has shared this wonderful paragraph at at this place
    Best Data Science courses in Hyderabad

    ReplyDelete
  28. They are produced by high level developers who will stand out for the creation of their polo dress. You will find Ron Lauren polo shirts in an exclusive range which includes private lessons for men and women.
    Business Analytics Course

    ReplyDelete
  29. Your work is very good and I appreciate you and hopping for some more informative posts.
    data science course in malaysia

    ReplyDelete
  30. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
    data science training in malaysia


    ReplyDelete
  31. If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries
    data science course in malaysia

    ReplyDelete
  32. I am delighted to discover this page. I must thank you for the time you devoted to this particularly fantastic reading !! I really liked each part very much and also bookmarked you to see new information on your site.
    Digital Marketing Course in Bangalore

    ReplyDelete
  33. Very wonderful informative article. I appreciated looking at your article. Very wonderful reveal. I would like to twit this on my followers. Many thanks! .
    <a href="https://360digitmg.com/india/data-analytics-certification-training-course-in-bangalore>Data Analytics training in Bangalore</a>

    ReplyDelete
  34. The information you have posted is very useful and knowledgeable. Thanks for sharing.
    Business Analytics Course in Jaipur

    ReplyDelete
  35. It's like you've got the point right, but forgot to include your readers. Maybe you should think about it from different angles.

    Data Scientist Course in Nashik

    ReplyDelete
  36. Very good message. I came across your blog and wanted to tell you that I really enjoyed reading your articles.

    Data Scientist Course in Bangalore

    ReplyDelete
  37. I'm always looking online for articles that can help me. I think you also made some good comments on the functions. Keep up the good work!

    Data Scientist Course in Kolkata

    ReplyDelete
  38. I'm always looking online for articles that can help me. I think you also made some good comments on the functions. Keep up the good work!

    Data Science Course in Nashik

    ReplyDelete
  39. I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,..
    cyber security course in malaysia

    ReplyDelete
  40. Very informative message! There is so much information here that can help any business get started with a successful social media campaign!

    Data Science Training Institutes in Bangalore

    ReplyDelete
  41. I'm always looking online for articles that can help me. I think you also made some good comments on the functions. Keep up the good work!

    Data Analytics Bangalore

    ReplyDelete
  42. It is perfect chance to make a couple of game plans for the future and the opportunity has arrived to be sprightly. I've scrutinized this post and if I may I have the option to need to suggest you some interesting things or recommendations. Perhaps you could create next articles insinuating this article. I have to examine more things about it!

    ReplyDelete
  43. This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it,
    cyber security training malaysia

    ReplyDelete
  44. https://www.writingaboutrunning.com/2014/03/first-ascent-all-22-miles-of-american.html?showComment=1646808670322#c8024723756087951304

    ReplyDelete
  45. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
    cyber security course in malaysia

    ReplyDelete
  46. 360DigiTMG, the top-rated organisation among the most prestigious industries around the world, is an educational destination for those looking to pursue their dreams around the globe. The company is changing careers of many people through constant improvement, 360DigiTMG provides an outstanding learning experience and distinguishes itself from the pack. 360DigiTMG is a prominent global presence by offering world-class training. Its main office is in India and subsidiaries across Malaysia, USA, East Asia, Australia, Uk, Netherlands, and the Middle East.

    ReplyDelete
  47. It's like you've got the point right, but forgot to include your readers. Maybe you should think about it from different angles.
    Data Analytics Course in Kolkata

    ReplyDelete
  48. Very informative message! There is so much information here that can help any business start a successful social media campaign!


    Data Science Training in Gorakhpur

    ReplyDelete
  49. Join Data Science classes with 360DigiTMG and get job-ready in 4 months. A world-class curriculum, LMS Access, Real-time projects, and assignments will aid you in getting a high-paying job.
    Data Science Course in Bangalore with Placement

    ReplyDelete
  50. Beyond Compare 4.4.2 Crack enables you to compare your folders and files efficiently. You may concentrate on the differences and dismiss.https://cyberspc.com/beyond-compare-crack-free-download/

    ReplyDelete
  51. Of all the gifts you have given me, this surprise gift will always be the most special because it came as an unexpected surprise Surprise Quotes

    ReplyDelete
  52. Another critical component of our data science institute is its industry relevance

    Kickstart your career by enrolling in this Data science course in Chennai

    ReplyDelete
  53. Nice article. Thanks for sharing such an informative and useful blog post.
    Linux Classes in Pune

    ReplyDelete