[ROOT] RE:CINT filename extensions

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Tue Aug 07 2001 - 22:13:16 MEST


Hello Christoph,

The change you requested can be made easily.  However, if it is
a matter of finding MAKEINFO file, you can simply define an
environment variable CINTSYSDIR. Cint looks for $CINTSYSDIR/MAKEINFO.
The error obviously looks like this setting is missing.

set CINTSYSDIR=c:\cint     for windows
        or
export CINTSYSDIR=/home/xxx/yyy/cint   for UNIX

Thank you
Masaharu Goto



>Date: Mon, 6 Aug 2001 14:17:13 +0300
>From: Christoph Bugel <chris@tti-telecom.com>
>To: roottalk@pcroot.cern.ch, rootdev@pcroot.cern.ch
>Cc: meirr@tti.co.il
>Subject: CINT filename extensions
>
>Hi!
>
>Our system takes a C++ sourcefile, copies it to a tempfile (the
>filename is generated using tempnam()) and then ask cint to load the
>files with G__loadfile().
>
>Usually this works fine, but once in a while cint will say "Error:
>cannot open /MAKEINFO".  This happens only when the tempfile happens
>to contain a dot (.)! for example: "/users/chris/tmp/scripAAAI.bpY_".
>So I think this happened because cint tries to recognize the filename
>extension. (even thought it is just a random string)
>
>I know cint needs to look at the filename extension in order to know
>if the file is a sourcefile or a precompiled dll. As it is now, I
>don't need cint to load dlls at runtime. Would it be possible to tell
>cint (at compilation time) that *all* filenames (no matter what
>extension) are source files?
>
>Thanks!



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET