Re: linking with VC++

From: Nick van Eijndhoven (Nick@fys.ruu.nl)
Date: Fri Jul 11 1997 - 09:46:11 MEST


*** Valery Fine wrote :
> 
> Dear Bulent Eren
> On 10 Jul 97 at 19:46, Bulent Eren wrote:
> 
> > I want to ask, is it possibly to link only the needed parts
> > of the root system statically with VC++. If yes, 
> > how? 
> 
>   We provide the DLL's only but we do provide the the source code as 
> well. So anyone can compile and build what he finds useful himself, 
> taking in account the CopyRight note supplied with the source.
> 
>   Cheers,
>                  Valery
>                                  
Hi Valery,
In connection with the above : I want to create a static library
root.a which only contains the 'root batch' functionality.
As I mentioned to you before, I would like to use g++ to create this
lib and also to run my batch jobs with g++.
I have taken the root.cmz file and can extract all the source code.
However, it is not clear to me which classes etc... I have to compile
(and put in this root.a) to have the 'batch only' version.
Is there (or could it be introduced) a CMZ selection card 'batch'
such that I could say

cmz> file root
cmz> select batch
cmz> exe setup
cmz> cx *
cmz> exit

which would then provide me only the *.c and *.C files needed to 
obtain batch functionality.

If I get this to work, I obviously can use ROOT/CINT as usual (using
the DLL's) to do my program testing and physiscs analysis (plotting,
fitting etc...) whereas my heavy batch processing (e.g. producing
TTree files for physics analysis afterwards) could then be run with
g++ by linking in the root.a lib.
                                                     Cheers,
                                                      Nick.

*----------------------------------------------------------------------*
 Dr. Nick van Eijndhoven                Department of Subatomic Physics
 email : nick@fys.ruu.nl                Utrecht University / NIKHEF
 tel. +31-30-2532331 (direct)           P.O. Box 80.000
 tel. +31-30-2531492 (secr.)            NL-3508 TA Utrecht
 fax. +31-30-2518689                    The Netherlands
 WWW : http://www.fys.ruu.nl/~nick      Office : Ornstein lab. 172
 ----------------------------------------------------------------------
 tel. +41-22-7679751 (direct)           CERN PPE Division / ALICE exp.
 tel. +41-22-7675857 (secr.)            CH-1211 Geneva 23
 fax. +41-22-7679480                    Switzerland
 CERN beep : 13+7294                    Office : B 160 1-012
*----------------------------------------------------------------------*



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