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

Michael Dahlinger (M.Dahlinger@clri6a.gsi.de)
Mon, 18 Jan 1999 10:08:21 +0100


Hi,
I have made a collection of static root libraries. It was necessary for=20
profiling a root application with gprof (timing measurements). This is =
not=20
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=FCngliche 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=20
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
>
>
>