[LLVMdev] lld build
Jean-Daniel Dupas
devlists at shadowlab.org
Thu Aug 8 01:26:48 PDT 2013
Le 8 août 2013 à 07:22, gamma_chen <gamma_chen at yahoo.com.tw> a écrit :
> Hi,
>
> Currently, I can build lld/llvm on Fedora 17 but fail to build it on iMac. The commands I use as follows. Anyone can help me? Or is there the lld mail list I can post the question?
>
> Linux/Fedora can be built by the following command
> cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS=-std=c++11 -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../src/
> make
>
> iMac cannot be built by the following command (fail on Xcode compile)
> cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS=-std=c++0x -DCMAKE_BUILD_TYPE=Debug -G "Xcode" ../src/
>
> Jonathan
I'm not sure the Xcode generated project works to build LLVM / LLD.
But what prevent you to build it using Makefile (or even better, using Ninja) on Mac too ?
-- Jean-Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130808/4aff1014/attachment.html>
More information about the llvm-dev
mailing list