[cfe-dev] [LLVMdev] Building clang/llvm without libstdc++ or GPLv3 tools/libraries
İsmail Dönmez
ismail at donmez.ws
Wed Jan 28 04:19:06 PST 2015
(Removing llvmdev from CC since this is probably off topic there)
On Wed, Jan 28, 2015 at 1:57 PM, Oza, Hiral <Hiral.Oza at netapp.com> wrote:
> Thank Ismail for quick reply.
>
> I read that Linux, we need to build...
> (1) libcxx (without libcxxabi) ==> done
> (2) build libcxxabi ==> failing with following error
> (3) and then re-build libcxx
>
> By the way I am building libcxx and libcxxabi Out-of-tree llvm build.
>
> Please correct me if I am missing something.
Easiest way to do this is doing an in-tree build hence a directory
structure like
/toplevel-llvm-src-directory
/tools/clang
/projects/libcxx
/projects/libcxxabi
/projects/compiler-rt
and build as-usual. This will get you a libcxx/libcxxabi build. But to
get clang to use it you need to build it once more with the installed
libcxx with -DLLVM_ENABLE_LIBCXX=ON option.
Hope that helps.
ismail
More information about the cfe-dev
mailing list