On Fri, Jul 15, 2011 at 06:07:59PM +0530, narendra babu 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
You should use the gcc provided with the distribution, unless you have a special requirement (a new feature, a new target architecture for cross-compilation etc.). > 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 . Yes, so why void the warranty? > But still i want to use the latest GCC compiler from gnu website because of > lot of improvements and bug fixes . Most of the software included with distributions are fairly dependable and stable. You should consider using an updated gcc only under the event that you need a specific bug worked around or a specific new feature. In my opinion, you can consider this option if you ever run into such a situation (which, for ordinary usage, is unlikely). > 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 . It is advisable to use the bundled gcc. Kumar -- : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : Listing contents of package [debian] LOST #594 To get the list filenames installed by a package $ dpkg -L package ####[banduji (at) symonds.net]################################ : _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
