I changed the 'bool' to 'int' and 'long.dll' to 'long.dl'.
About the crash, I've seen some compliation on Win32 and Linux especially
around constructor G__longlong::G__longlong(T& x); In lib/longlong/longlong.h
there are several deactivated constructors. My feeling is that the crash
could be workedaround by playing around with the constructors.
Masaharu Goto
--------------------------------------
Masaharu,
I tried to build long.dl on a sparc-sun-solaris2.5.1 system with the sun CC
compiler.
The only change I did is to define "bool" in the longlong.h file at line 65
because this compiler does not know the bool type:
----------------------------------------------------------------------------
/**************************************************************************
* OTHER
**************************************************************************/
#else
#define G__NODIV
#define G__NOMOD
typedef long long G__int64;
typedef int bool;
#endif
----------------------------------------------------------------------------
and to rename the output file long.dll to long.dl in the setup file of the
cint/lib/longlong directory:
----------------------------------------------------------------------------
makecint -mk Makefile -dl $CINTSYSDIR/include/long.dl -H longlong.h
----------------------------------------------------------------------------
Now rootcint does not give any error messages but stops with a "Segmentation
fault".
If I change "long long" to "long" in my header file everything works fine.
I'm sorry I cannot investigate more, I do not have any idea what to change to
avoid the Segmentation fault of rootcint.
Reiner.