I am trying to compile 32bit ROOT with cling enabled under a 64bit system; however the cling buildsystem doesn’t seem to pick this up and produces a 64bit libclang which then make the ROOT build fail at some linking step. I configure with
./configure linux --enable-cling
and build with gcc-4.3.2 under SL5.3.
As a slightly related problem, in the past I was able to modify the LDFLAGS used when building ROOT (due to a bug in gcc in that SL version when building 32bit) by patching config/Makefile.linux. These changes also aren’t picked up by cling.
Is there some documentation on how to make a build like I want? Or even better, are there any plans on unifying the different buildsystems in a ROOT build (maybe already possible with cmake?)? In the past I had similar problems with xrootd, but thank god I don’t use it anymore and don’t need to patch its Makefiles.