Fedora 32 Could Make It Easier To Swap Out GCC, Other Compiler Alternative Options

Written by Michael Larabel in Fedora on 22 December 2019 at 01:58 AM EST. 11 Comments
Adding to the interesting list of proposed features for Fedora 32 would be update-alternatives handling of /usr/bin/cc and /usr/bin/c++ to more easily and seamlessly allowing pointing them at alternative compilers.

Fedora's GCC package installs the cc and c++ symlinks to point towards the GNU Compiler Collection while this change for next year's Fedora 32 would use update-alternatives for managing those generic symlinks.

The change proposal would make it easier for LLVM Clang to be pointed from the default cc/c++ locations. LLVM Clang is the primary benefactor of this for those Fedora users who would like to use LLVM Clang as their default compiler, but this can be just as easily applied to other alternative compilers as well as wrappers or even pointing to alternative versions of GCC.

More details in this change proposal by Red Hat's Tom Stellard who also continues to work heavily on upstream LLVM/Clang.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week