RE:8 byte long long and rootcint

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Thu Oct 01 1998 - 13:23:00 MEST


Reiner,

>I have a member variable in a class of 8 byte integer (long long).
>
>The header file (TimeDef.h) with this class is included in the rootcint call.
>Now I get these error messages:
>Error: source file "long.dl" cannot open  FILE:hk_time/../tools/TimeDef.h
>LINE:33
>Error: 'long long' not ready. Go to $CINTSYSDIR/lib/longlong and run setup
>FILE:hk_time/../tools/TimeDef.h LINE:33
>
>I don't know the file "long.dl" and where is the $CINTSYSDIR/lib/longlong
>directory. Can I run setup by myself?

Currently, 'long long' type is supported by some computer platforms but not al
l.So, I separated implementation of 'long long' into a different DLL. It is
currently tested only on Linux and Windows-NT/9x. For other platforms, long.dl
should be built with minor modification it the platform supports 'long long'.
To do so, you need to download cint source package from
 http://root.cern.ch/Cint.html
You need to copy $CINTSYSDIR/include/long.dl to $ROOTDIR/cint/include/long.dl.
If you successfully build long.dl in other platform, please let me know and
give me that change you made.  

Rene askes why using this platform dependent method.  Because 'long long' is
platform dependent itself. This is inevitable for now I think.

There are still many ROOT running platforms which do not have 'long long'. 
I guess ROOT has 8 byte integer type. It would be better using it. (Is this 
correct Fons?)

Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET