LWN.net Logo

Building code with multiple compilers

Building code with multiple compilers

Posted Mar 23, 2012 4:56 UTC (Fri) by pflugstad (subscriber, #224)
Parent article: Distributions looking at LLVM

I'm firmly of the opinion that you should try and build your code with as many compilers as possible - GCC (old and new - yes, I've got a GCC 2.95 variant around), ICC, MSVC, etc... Each one has it's strengths and weaknesses and each warns about different things. At the end of the day, you end up with better code, which should be everyone's goal.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds