<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi , <div><br></div><div>knowing the exact commands would be good, but this usually works well for me:</div><div><br></div><div>mkdir llvm_build_xcode</div><div>cd llvm_build_xcode</div><div>cmake -G Xcode -DCMAKE_BUILD_TYPE=Debug /Path/To/llvm</div><div>open Xcode project and compile.</div><div><br></div><div>Let me know if it works for you</div><div><br></div><div>Marcello</div><div><br></div><div><div>On Jul 4, 2014, at 12:10 AM, Guy Sherman <<a href="mailto:guy@guysherman.com">guy@guysherman.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi All,<div><br></div><div>I’m new to hacking on clang and I’m trying to build with Xcode.</div><div><br></div><div><br></div><div>I got the code from the git mirror, first checking out llvm, and then clang into llvm/tools/clang, compiler-rt code to llvm/project/compiler-rt and the test suite to llvm/projects/test-suite (I basically followed the instructions here: <a href="http://llvm.org/docs/GettingStarted.html#git-mirror">http://llvm.org/docs/GettingStarted.html#git-mirror</a>)</div><div><br></div><div>I then used cmake to generate the LLVM xcode project.</div><div><br></div><div>When I build the ALL_BUILD target I very quickly get the following error compiling asan_activation.c: </div><div><br></div><div><div style="margin: 0px 0px 0px 12px; text-indent: -12px; font-size: 11px; font-family: Menlo;">lang: error: invalid argument '-mmacosx-version-min=10.9' not allowed with '-mios-simulator-version-min=7.0'</div></div><div><br></div><div>Any thoughts on what is going wrong? I am a little surprised because I haven’t even tried to change anything yet.</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Guy.</div></div>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></body></html>