[cfe-dev] Problem building llvm and clang
Nikola Smiljanic
popizdeh at gmail.com
Mon Jan 12 14:50:17 PST 2015
Users/fran/Desktop/llvm/build/
Is your build directory inside llvm source dir? You should move it out if
it is and have something like this
fran/llvm for llvm sources, clang in fran/llvm/tools/clang and fran/build.
Note that compiler-rt and clang-extra are not really needed.
On Tue, Jan 13, 2015 at 9:09 AM, Francisco Chiotta <franchiotta at gmail.com>
wrote:
> Hello there,
> I am just starting with the llvm and clang world. I tried to build source
> code and I was not be able to.
>
> I follow the steps right from this web page:
>
> http://clang.llvm.org/get_started.html
>
> And I am getting this error when executing the command make:
>
> make[5]: Nothing to be done for `all'.
>
> make[5]: Nothing to be done for `all'.
>
> make[5]: Nothing to be done for `all'.
>
> make[5]: Nothing to be done for `all'.
>
> make[5]: Nothing to be done for `clang_darwin'.
>
> make[5]: Nothing to be done for `clang_macho_embedded'.
>
> llvm[4]: Copying runtime library darwin/eprintf to build dir
>
> cp:
> /Users/fran/Desktop/llvm/build/tools/clang/runtime/compiler-rt/clang_darwin/eprintf/libcompiler_rt.a:
> No such file or directory
>
> make[4]: ***
> [/Users/fran/Desktop/llvm/build/Release+Asserts/lib/clang/3.6.0/lib/darwin/libclang_rt.eprintf.a]
> Error 1
>
> rm
> /Users/fran/Desktop/llvm/build/Release+Asserts/lib/clang/3.6.0/lib/darwin/.dir
>
> make[3]: *** [compiler-rt/.makeall] Error 2
>
> make[2]: *** [all] Error 1
>
> make[1]: *** [clang/.makeall] Error 2
>
> make: *** [all] Error 1
>
> This is trying to copy a runtime library, but it doesn't exist in that
> location.
>
> (llvm/build/tools/clang/runtime/compiler-rt/*clang_darwin*
> /eprintf/libcompiler_rt.a)
>
> Even the folder "clang_darwin" does not exist.
>
> Any help?
>
> I am running on OS X 10.9.5.
>
> I would appreciate your help with this. I am so newby.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150113/1615e77c/attachment.html>
More information about the cfe-dev
mailing list