[ROOT] GEANT4 + ROOT

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Fri Nov 19 2004 - 14:24:52 MET


Hi,
A small add-on to my previous mail ...
Following a note from Fons that on MacOS X "-pthread" option is not
supported by the compiler ... one needs to compile the code setting
explicitly "-D_REENTRANT" and adding "-lpthread" to the libs.
That means that, on MacOS X, one should add in the end of the
corresponding "gmk" file (I hope it's correct ...) :
--------------------------
  CXXFLAGS  += -D_REENTRANT
  FCFLAGS   += -D_REENTRANT
  CCFLAGS   += -D_REENTRANT
  LDFLAGS   += -D_REENTRANT
  LOADLIBS  += -lpthread
--------------------------
Hope it helps,
Best regards,
Jacek.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET