GCC 11 Will Likely Support Using LLVM's libc++

Written by Michael Larabel in GNU on 1 April 2020 at 11:33 AM EDT. 26 Comments
GNU
While GCC 10 isn't even out for a few more weeks, looking ahead to next year's GCC 11 release is already one interesting planned change.

GCC 11's C++ front-end (G++) will likely offer support for using LLVM's libc++ standard library. There was recently a question asked on the GCC mailing list over the ability to do -stdlib=libc++ for using LLVM's C++ standard library in conjunction with the GCC C++ compiler.

Developer Iain Sandoe commented he already has a patch for offering this interoperability and is planning to land it once stage one development opens up for GCC 11. This would be an alternative to the GNU's libstdc++ standard library and that would obviously remain the default for GCC.

Those wondering about the current capabilities of LLVM's libc++ can find it via libcxx.llvm.org.
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