https://llvm.org/bugs/show_bug.cgi?id=23677

            Bug ID: 23677
           Summary: chicken-and-egg problem building libc++ as the only
                    STL on a system
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Trying to build libc++ and libc++abi for a system that doesn't have any STL
implementation installed before fails because of cmake's checks for a working
C++ compiler -- CMakeTestCXXCompiler.cmake tries to verify there's a working
C++ compiler by compiling a small application (and implicitly linking it to an
STL -- which isn't needed to build libc++abi/libc++).

The check for a working C++ compiler should probably be replaced with a simpler
check that doesn't require linking to a pre-existing
libc++/libstdc++/libc++abi/libsupc++.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to