[cfe-dev] libc++ documentation of LIBCXX_CXX_ABI_LIBNAME wrong?

Andrew Brownsword via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 30 08:14:35 PDT 2018


Yes, I realized belatedly that this is the case.  I was led astray by things not working (see other, later post that you already responded to), and because the build was telling me that the LIBNAME variable wasn’t being used.  I’ve switched to using ccmake to set variables now (thanks to a helpful video about building this toolchain), and hopefully that reduces missteps.

> On Aug 30, 2018, at 7:09 AM, Louis Dionne <ldionne at apple.com> wrote:
> 
> I do think the documentation is correct. libcxx/CMakeLists.txt:166 actually sets LIBCXX_CXX_ABI_LIBNAME from LIBCXX_CXX_ABI. My understanding is that LIBCXX_CXX_ABI_LIBNAME is an internal variable and LIBCXX_CXX_ABI is the (documented) user-facing setting. I can take a look if you can provide a reproducer (setting LIBCXX_CXX_ABI and it not working).
> 
> Louis
> 
>> On Aug 25, 2018, at 10:04, Andrew Brownsword via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>> 
>> It appears that the option LIBCXX_CXX_ABI_LIBNAME is incorrectly mentioned repeatedly as LIBCXX_CXX_ABI on this webpage:  https://libcxx.llvm.org/docs/BuildingLibcxx.html#abi-library-specific-options
>> 
>> The build wasn’t working for me until I looked into the cmake module and noticed that it was checking the longer name.
>> 
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180830/7ad27cfd/attachment.html>


More information about the cfe-dev mailing list