AW: static linking of shared root libs? and timing root application

From: Michael Dahlinger (M.Dahlinger@clri6a.gsi.de)
Date: Mon Jan 18 1999 - 10:08:21 MET


Hi,
I have made a collection of static root libraries. It was necessary for 
profiling a root application with gprof (timing measurements). This is not 
possible with dynamic libraries. (Am I wrong ???).

please contact me, I can send you the adapted Makefiles.
I want to make a short write-up in html , when I find the time...

I have used the 200-12 version on debian linux (debian 1.x).

Michael
> -----Ursprüngliche Nachricht-----
> Von:	Christoph Ernst [SMTP:ernst@th.physik.uni-frankfurt.de]
> Gesendet am:	Freitag, 15. Januar 1999 09:38
> An:	roottalk@hpsalo.cern.ch
> Betreff:	static linking of shared root libs?
>
> Dear rooters,
>
> How can I create executables (on LINUX gcc2.7) which include the root
> library statically?
>
> The problem is that I want to run on machines (of the same operation 
system)
> where root itself and its libraries will be not available :-[
> Is it possible to include shared libraries statically when I make my
> program? Or do I have to compile the whole root library statically (how?)
> and create a '.a'-file? Is there a better solution involving something 
like
> rootd?
>
> Thanks for your help
> 	Christoph
>
>
> 



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