<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 25, 2012, at 6:49 PM, Eli Friedman <<a href="mailto:eli.friedman@gmail.com">eli.friedman@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Sun, Nov 25, 2012 at 3:19 PM, Joe Abbey <<a href="mailto:jabbey@arxan.com">jabbey@arxan.com</a>> wrote:<br><blockquote type="cite">If cmake happens to detect GCC for the C compiler and Clang for the C++<br>compiler, then a manual override of either the C compiler or<br>SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG is required.  This has been happening<br>on my Darwin build environments:<br><br>-- The C compiler identification is GNU 4.2.1<br>-- The CXX compiler identification is Clang 4.1.0<br></blockquote><br>How did you end up in this situation?  Something has gone very wrong<br>if the build system finds clang++ but not clang.<br><br></blockquote><br></div><div>I don't think I've done anything terribly unique.  </div><div><br></div><div>1) Install Xcode</div><div><br></div><div>2) Installing command-line tools</div><div><font face="Menlo"><br></font></div><div><div><div><font face="Menlo">jabbeymbp:llvmCommit jabbey$ ls -l /usr/bin/gcc /usr/bin/g++ /usr/bin/c++ /usr/bin/cc</font></div><div><font face="Menlo">lrwxr-xr-x  1 root  wheel   7 Nov 20 01:16 /usr/bin/c++ -> clang++</font></div><div><font face="Menlo">lrwxr-xr-x  1 root  wheel   5 Nov 20 01:16 /usr/bin/cc -> clang</font></div><div><font face="Menlo">lrwxr-xr-x  1 root  wheel  12 Nov 20 01:17 /usr/bin/g++ -> llvm-g++-4.2</font></div><div><font face="Menlo">lrwxr-xr-x  1 root  wheel  12 Nov 20 01:17 /usr/bin/gcc -> llvm-gcc-4.2</font></div><div><font face="Menlo">jabbeymbp:llvmCommit jabbey$ xcode-select --print-path</font></div><div><font face="Menlo">/Applications/Xcode.app/Contents/Developer</font></div><div><font face="Menlo"><div>jabbeymbp:llvmCommit jabbey$ cmake --version</div><div>cmake version 2.8.8</div></font></div><div><font face="Menlo"><br></font></div><div>Is this not as expected?</div><div><br></div><div>Joe</div></div><div><font face="Menlo"><br></font></div><div><font face="Menlo"><br></font></div></div><br></body></html>