What is the sanctioned way to build libc++ for clang on Linux?

假如想象 提交于 2019-12-03 12:36:27
rubenvb

The libc++ website has a nice overview of the possible ways to build libc++.

I suggest using CMake + libc++abi.

Also see the Arch Linux User Repository build script, which uses the buildit script. I installed libc++ from that and used it with the Arch Linux Clang package succesfully by using

clang++ -std=c++11 -stdlib=libc++ -lc++abi
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!