<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Since you are on a mac, probably the easiest way to resolve this would be to install Xcode use clang instead of gcc.<div class=""><br class=""></div><div class="">Also if you’re new to LLVM you might want to review <a href="http://llvm.org/docs/GettingStarted.html" class="">http://llvm.org/docs/GettingStarted.html</a>.</div><div class=""><br class=""></div><div class="">At this point we’re recommending CMake instead of autotools as the preferred way to build LLVM.</div><div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 12, 2015, at 11:38 PM, Harshvardhan Agrawal <<a href="mailto:harshvardhan.agr93@gmail.com" class="">harshvardhan.agr93@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">I am trying to make LLVM 3.4 on my Macbook. But I am facing the following errors:</div><div class=""><br class=""></div><div class=""><p class=""><span class="">llvm[2]: Compiling disassemble.c for Release+Asserts build</span></p><p class=""><span class="">gcc: error: unrecognized command line option '-Wcovered-switch-default'</span></p><p class=""><span class="">rm: /usr/local/bin/build/tools/llvm-c-test/Release+Asserts/disassemble.d.tmp: No such file or directory</span></p><p class=""><span class="">make[2]: *** [/usr/local/bin/build/tools/llvm-c-test/Release+Asserts/disassemble.o] Error 1</span></p><p class=""><span class="">make[1]: *** [llvm-c-test/.makeall] Error 2</span></p><p class=""><span class="">make: *** [all] Error 1</span></p><p class=""><span class="">Harshvardhans-MacBook-Pro:build Sherlock$ gcc --version</span></p><p class=""><span class="">gcc (Homebrew gcc 4.9.2_1 --without-multilib) 4.9.2</span></p><p class=""><span class="">Copyright (C) 2014 Free Software Foundation, Inc.</span></p><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><b class="">Thanks & Regards,<br class="">Harshvardhan Agrawal</b><br class=""></div>
</div></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:LLVMdev@cs.uiuc.edu" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" class="">http://llvm.cs.uiuc.edu</a><br class=""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class=""></div></blockquote></div><br class=""></div></body></html>