[cfe-dev] How to build libc++ under Linux
Bruce Stephens
bruce.r.stephens at gmail.com
Wed Jan 9 06:14:59 PST 2013
Michael Spencer <bigcheesegs-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
writes:
[...]
> 1) Configure libc++ with CMAKE_INSTALL_PREFIX=/usr (clang only looks
> for libc++ here on Linux)
> 2) Set LIBCXX_CXX_ABI to libsupc++ and reconfigure.
> 3) Set LIBCXX_LIBSUPCXX_INCLUDE_PATHS to a ; separated list of paths
> to the libsupc++ headers. On my linux machine this is
> "usr/include/c++/4.6;/usr/include/c++/4.6/x86_64-linux-gnu"
> 4) Reconfigure
> 5) Generate, build, install
>
> I have been using libc++ with clang on Linux for over a year now and
> I've only found one bug (that was fixed in less than 24 hours).
That still crashes if you output to std::cerr, doesn't it? (Presumably
there are other crashes, but that's the one that I noticed first.)
[...]
More information about the cfe-dev
mailing list