<div dir="ltr"><div>Yes, I removed the previous build folder, and then executed configure again on the new directory.</div><div><br></div>This way:<div><br></div><div>I got into /Users/fran/llvm_build, and I typed:</div><div><br></div><div>/Users/fran/Development/llvm/configure --prefix=/Users/fran/llvm_installation --enable-optimized</div><div><br></div><div>And then, make.</div><div><br></div><div>(I moved the source code to /Users/fran/Development/llvm).</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-12 21:13 GMT-03:00 Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Did you remove everything from build dir and configure again? How did you configure?</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jan 13, 2015 11:11 AM, "Francisco Chiotta" <<a href="mailto:franchiotta@gmail.com" target="_blank">franchiotta@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, you are right. It is not located properly.<div><br></div><div>However, I am still getting that error.</div><div><br></div><div><p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `clang_darwin'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `clang_macho_embedded'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">llvm[4]: Copying runtime library darwin/eprintf to build dir</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">cp: /Users/fran/llvm_build/tools/clang/runtime/compiler-rt/clang_darwin/eprintf/libcompiler_rt.a: No such file or directory</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[4]: *** [/Users/fran/llvm_build/Release+Asserts/lib/clang/3.6.0/lib/darwin/libclang_rt.eprintf.a] Error 1</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">rm /Users/fran/llvm_build/Release+Asserts/lib/clang/3.6.0/lib/darwin/.dir</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[3]: *** [compiler-rt/.makeall] Error 2</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[2]: *** [all] Error 1</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[1]: *** [clang/.makeall] Error 2</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make: *** [all] Error 1</p></div><div><br></div><div><br></div><div>I moved the build directory to /Users/fran/llvm_build. </div><div><br></div><div>What am I doing wrong? :(</div><div>Thanks.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-12 19:50 GMT-03:00 Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(245,245,245);font-family:Menlo;font-size:18px;background-color:rgb(0,0,0)">Users/fran/Desktop/llvm/</span><span style="color:rgb(245,245,245);font-family:Menlo;font-size:18px;background-color:rgb(0,0,0)">build/</span><br></div><div><br></div><div>Is your build directory inside llvm source dir? You should move it out if it is and have something like this</div><div><br></div><div>fran/llvm for llvm sources, clang in fran/llvm/tools/clang and fran/build.</div><div><br></div>Note that compiler-rt and clang-extra are not really needed.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Jan 13, 2015 at 9:09 AM, Francisco Chiotta <span dir="ltr"><<a href="mailto:franchiotta@gmail.com" target="_blank">franchiotta@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello there,<div>I am just starting with the llvm and clang world. I tried to build source code and I was not be able to.</div><div><br></div><div>I follow the steps right from this web page:</div><div><br></div><div><a href="http://clang.llvm.org/get_started.html" target="_blank">http://clang.llvm.org/get_started.html</a><br></div><div><br></div><div>And I am getting this error when executing the command make:</div><div><br></div><div><p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `all'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `all'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `all'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `all'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `clang_darwin'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[5]: Nothing to be done for `clang_macho_embedded'.</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">llvm[4]: Copying runtime library darwin/eprintf to build dir</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">cp: /Users/fran/Desktop/llvm/build/tools/clang/runtime/compiler-rt/clang_darwin/eprintf/libcompiler_rt.a: No such file or directory</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[4]: *** [/Users/fran/Desktop/llvm/build/Release+Asserts/lib/clang/3.6.0/lib/darwin/libclang_rt.eprintf.a] Error 1</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">rm /Users/fran/Desktop/llvm/build/Release+Asserts/lib/clang/3.6.0/lib/darwin/.dir</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[3]: *** [compiler-rt/.makeall] Error 2</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[2]: *** [all] Error 1</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make[1]: *** [clang/.makeall] Error 2</p>
<p style="margin:0px;font-size:18px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">make: *** [all] Error 1</p></div><div><br></div><div>This is trying to copy a runtime library, but it doesn't exist in that location. </div><div><br></div><div>(llvm/build/tools/clang/runtime/compiler-rt/<b>clang_darwin</b>/eprintf/libcompiler_rt.a)</div><div><br></div><div>Even the folder "clang_darwin" does not exist.</div><div><br></div><div> Any help?</div><div><br></div><div>I am running on OS X 10.9.5.<br></div><div><br></div><div>I would appreciate your help with this. I am so newby.</div></div>
<br></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>