Hi Roger,
Have you tried passing --compiler=gcc in the 'python sources/libtbx/configure.py [list of modules]' step?
Cheers,
Richard
On 2 January 2015 at 20:28, Roger Martin <[email protected]> wrote:
Hi,
I'm attempting to build on Mac. Via jenkins.
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 http://www.scons.org/doc/production/HTML/scons-user.html#idm12919064
---------------
cd build
mkdir -p site_scons
cat <<EOF >./site_scons/site_init.py
env = DefaultEnvironment(tools = ['gcc', 'gnulink'],
CC = '/opt/gcc/current/bin/gcc',
CXX = '/opt/gcc/currentbin/g++')
EOF
--------------
Do you have a way to tell it which compiler version to find that is compatible with the source code level?
Regards,
Roger
_______________________________________________
cctbxbb mailing list
[email protected]
http://phenix-online.org/mailman/listinfo/cctbxbb
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb