Re: Problem with statically-linked executable

From: Konstantin Olchanski <olchansk_at_triumf.ca>
Date: Wed, 9 Sep 2009 13:58:22 -0700


> >>[somebody] wrote:
>
> >>The whole point of linking statically is to avoid dependence on ANY
> >>shared libraries at runtime.

True, but "partially static" builds are also useful, where all "user" libraries (ROOT, etc) are linked statically, but "very system" libraries are dynamic (glibc, libstdc++). How to link things like X11, freetype and such should be ideally selectable at link time to match the instant application.

On Wed, Sep 09, 2009 at 01:29:21PM -0500, Philippe Canal wrote:
> The static link of ROOT (roota and libRoot.a) should now work properly
> on linux and MacOS.

Thank you. It is very important to support static linking of ROOT as much as possible (subject to reasonable limitations, etc).

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Received on Wed Sep 09 2009 - 22:58:30 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 09 2009 - 23:50:02 CEST