[cfe-dev] Building libc++ on Linux

Joerg Sonnenberger joerg at britannica.bec.de
Wed Mar 28 07:02:58 PDT 2012


On Wed, Mar 28, 2012 at 01:41:18PM +0100, David Chisnall wrote:
> Actually building libc++ itself is pretty trivial - just compile all
> of the source files and link them.
> clang -std=c++0x -shared *.cpp -o libc++.so is about all that's needed.

Add -DLIBCXXRT here if building against libcxxrt, otherwise you will run
into issues with cerr on Linux. No solution for libc++abi, I think.

Joerg



More information about the cfe-dev mailing list