Building and Installing CINT on OS X 10.6

Content

Building and Installing CINT on OS X 10.6

Posted in:

The only Musca in the otherwise good Swiss ointment is a lack of support for the GCC -Wno-long-double option. Hence we encounter:

cc1: error: unrecognized command line option "-Wno-long-double">

There is a note on this here.

Workaround is simply to grep the CINT folder and remove the offender. A Successful build should follow.

Once built we only need to export the following (note that on OS X we must export DYLD_LIBRARY_PATH as opposed to LD_LIBRARY_PATH as listed in setenv.sh ).

export PATH=$PWD/bin:$PATH
export DYLD_LIBRARY_PATH=$PWD/lib:$DYLD_LIBRARY_PATH
export CINTSYSDIR=$PWD

Now off to the test folder.

cd test
cint testall.cxx

Test explicitdtor.cxx will likely fail. Take consolation from the test README.txt:

Following errors are known. Those are due to Cint limitations.

explicitdtor.cxx : base class dtor isn't called with explicit dtor call
t694.cxx -DINTERPRET : when to evaluate default parameter value
t695.cxx : template specialization is not complete

If you want to embed CINT in a bundle then the minimal required folder set seems to be something like:

CINT
--->bin
--->cint
------->inc
------->include
------->lib
------->stl
--->include
--->lib