As Graeme mentioned you currently need to use --compiler=gcc to force compilation with gcc over clang for the latest Xcode/OS X (we should probably try and figure out how to the configure command use gcc by default). The cctbx <i>should</i> build with the more recent versions of clang (perhaps Luc could comment on this as I think he uses clang regularly), although depending on what version of Xcode you are using, Apple used to ship a relatively old version of clang/llvm with Xcode, so clang compilation might not necessarily work straight out the box.<div>

<br></div><div>What output do you get after running &quot;clang --version&quot;?</div><div><br></div><div>After upgrading to OS X 10.8/Xcode 4.4 I get:</div><div><br></div><div>Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)</div>

<div><br></div><div>which is more recent than with older versions of Xcode.</div><div><br></div><div>We should probably add a clang build to our nightly builds at some point in the near future.</div><div><br></div><div>Cheers,</div>

<div><br></div><div>Richard</div><div><br><br><div class="gmail_quote">On 1 August 2012 10:13, Marcin Wojdyr <span dir="ltr">&lt;<a href="mailto:wojdyr@gmail.com" target="_blank">wojdyr@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Out of curiosity: i remember reading somewhere that cctbx can be<br>
compiled with clang (and that it took a lot of work). Do you plan to<br>
support this compiler?<br>
<span class="HOEnZb"><font color="#888888">Marcin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 1 August 2012 17:26, Jeffrey Van Voorst &lt;<a href="mailto:vanv0059@umn.edu">vanv0059@umn.edu</a>&gt; wrote:<br>
&gt; Apple has been &quot;messing around&quot; with the Xcode and the OS to prefer CLang<br>
&gt; over gcc (at least that is what I have inferred). �It could be that on Mac<br>
&gt; OS X 10.8 that scons chooses a different compiler, etc. than on Mac OS X<br>
&gt; 10.6.8 (where cctbx compiles fine).<br>
&gt;<br>
&gt; Hopefully scons has a method to print the toolchain or config to see what<br>
&gt; differs from previous versions of Mac OS X (e.g. 10.6.8 and 10.8.0) Xcode<br>
&gt; 3.* or Xcode 4.*?<br>
&gt;<br>
&gt; --Jeff<br>
&gt; _______________________________________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>