|
|
Log in / Subscribe / Register

Rethinking Fedora's compiler policy

Rethinking Fedora's compiler policy

Posted Apr 28, 2021 20:24 UTC (Wed) by eru (subscriber, #2753)
In reply to: Rethinking Fedora's compiler policy by mss
Parent article: Rethinking Fedora's compiler policy

You can probably get either result, depending on what you are compiling, and whether you have picked the best flags for that particular source and compiler. Comparing compilers fairly is hard.


to post comments

Rethinking Fedora's compiler policy

Posted Apr 30, 2021 18:20 UTC (Fri) by JoeBuck (subscriber, #2330) [Link]

We are fortunate to have two strong compilers; the competition between them has made them both better.

As for what distros should do, I think library packages need to be built with one compiler, but for non-libraries it's less critical. However, it's always helped GCC that, before a new major version is released, someone or someones try building entire distros with the new compiler, to shake out bugs in both and to help produce the porting notes (sometimes additional strictness flags problems with code that built with the previous compiler release but perhaps shouldn't have).


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