[LLVMbugs] [Bug 9768] New: Support non-default install locations of clang + stdlib

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 20 21:02:00 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9768

           Summary: Support non-default install locations of clang +
                    stdlib
           Product: clang
           Version: trunk
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Headers
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: blelbach at cct.lsu.edu
                CC: llvmbugs at cs.uiuc.edu


Currently, libc++'s include path is hardcoded as /usr/include/c++/v1. At least
for CMake (where the install path can be determined at configure time and added
in a preprocessor define), this should be set based on the installation prefix.
Standard libraries shouldn't be linked in with -lc++ and -lstdc++, as this can
be ambigious. Fully qualified paths to the C++ standard library used to build
clang should be used (e.g. /usr/lib/libc++.so). Adding the library path to the
rpath of produced binaries would also be neat.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list