<div dir="ltr">Hi Roger,<div><br></div><div>Have you tried passing --compiler=gcc in the &#39;python sources/libtbx/configure.py [list of modules]&#39; step?</div><div><br></div><div>Cheers,</div><div><br></div><div>Richard</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 January 2015 at 20:28, Roger Martin <span dir="ltr">&lt;<a href="mailto:roger@quantumbioinc.com" target="_blank">roger@quantumbioinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m attempting to build on Mac.  Via jenkins.<br>
<br>
The scons finds /usr/bin/c++ but my builds are based on gcc located at /opt/gcc/current/bin.  A which c++ returns /opt/gcc/current/bin/c++.  I tried to tell it by making a site_init.py according to <a href="http://www.scons.org/doc/production/HTML/scons-user.html#idm12919064" target="_blank">http://www.scons.org/doc/<u></u>production/HTML/scons-user.<u></u>html#idm12919064</a><br>
---------------<br>
cd build<br>
mkdir -p site_scons<br>
cat &lt;&lt;EOF &gt;./site_scons/site_init.py<br>
env = DefaultEnvironment(tools = [&#39;gcc&#39;, &#39;gnulink&#39;],<br>
                         CC = &#39;/opt/gcc/current/bin/gcc&#39;,<br>
                         CXX = &#39;/opt/gcc/currentbin/g++&#39;)<br>
EOF<br>
--------------<br>
<br>
Do you have a way to tell it which compiler version to find that is compatible with the source code level?<br>
<br>
Regards,<br>
<br>
Roger<br>
______________________________<u></u>_________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/<u></u>mailman/listinfo/cctbxbb</a><br>
</blockquote></div><br></div>