Hello All,
I am trying to build some root libraries on my mac and am having some problems.
I do something like this
/usr/bin/g++ -c -O -Wall -fPIC -D_REENTRANT -pthread -m64 -I/usr/local/bin/root/root_v5.18.00/include -arch x86_64 CutTableBuilder.cc -o CutTableBuilder.o
/usr/bin/g++ -c -O -Wall -fPIC -D_REENTRANT -pthread -m64 -I/usr/local/bin/root/root_v5.18.00/include -arch x86_64 EnsembleProducer.cc -o EnsembleProducer.o
followed by
rootcint -f mydict.cc -c -p -I/usr/local/bin/root/root_v5.18.00/include CutTableBuilder.h EnsembleProducer.h
/usr/bin/g++ -c -O -Wall -fPIC -D_REENTRANT -pthread -m64 -I/usr/local/bin/root/root_v5.18.00/include -arch x86_64 mydict.cc -o mydict.o
which all goes without a complaint. Then when I try to make a dynamic library with
I get the following:
ld: warning in CutTableBuilder.o, file is not of required architecture
ld: warning in EnsembleProducer.o, file is not of required architecture
ld: warning in mydict.o, file is not of required architecture
I have tried this without the -arch flag. I am running on a Intel64 Macbook running Leopard ( OSX 10.5.4 ) and root version v5.18.00
Thanks for the help!!