# Root-config --ldflags

Hi,
is that normal that command:
root-config --ldflags
executed on lxplus at cern, on Intel Xeon machine (64 bits I think) gives:
-m32
output?

Regards, Mariusz Sapinski

No, it should give -m64.
Which version are you using?

Rene

Sorry, I’ve forgotten to write.
My ROOTSYS is pointing to:
/afs/cern.ch/sw/lcg/external/root/5.18.00a/slc4_ia32_gcc34/root
and:
which root-config
/afs/cern.ch/sw/lcg/external/root/5.18.00a/slc4_ia32_gcc34/root/bin/root-config

Mariusz

Hi,

Your pointing to a 32 bits build of ROOT. You will need to use a 64 bit build!

Cheers,
Philippe

see root.cern.ch for the list of binaries under afs. In your case you should use
/afs/cern.ch/sw/lcg/external/root/5.19.02/slc4_amd64_gcc34
or its 5.18 equivalent

Rene

Of course, thanks!