[Ilugc] WHich version of gcc is good

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Sat, 16 Jul 2011 06:01:12 +0530

On Fri, Jul 15, 2011 at 6:07 PM, narendra babu <cnarendra_babu at yahoo.com> 
wrote:




Hello folks ,

I am interested to know which? is the best way os using the gcc compiler .

1) Should i use the gcc provided by the Linux distribution ?which comes with 
their own patches?and which is not the latest?gcc?( for ex: RHEL 5.x? or RHEL 
6) or
2) Should i download the latest gcc from gnu website , install and start 
using it

This will not work.

option 2 has a catch , if? i?don't use? vendor supplied gcc , the warranty 
will be void if some thing breaks in production and if support issue is 
raised with vendor they will come back and ask which compiler is used .

But still i want to use the latest GCC compiler from gnu website because of 
lot of improvements and bug fixes .

Please advise , is it best practise to get the latest gnu gcc from gnu 
website or to use vendor supplied gcc for real time production .


Obviously you are ignoring the fact that a compiler does not work in
isolation but in tandem with
 the toolchain and other utilities like gdb, ld, gas and so on.

Never mess with gcc. Use whatever you have available either using the
package system or in base.

Linux does not come default with gcc.

So you know how good an OS it is.

-Girish

Other related posts: