Re: get rid static libraries or fix them
- From: Tristan Van Berkom <tvb gnome org>
- To: Owen Taylor <otaylor redhat com>
- Cc: desktop-devel-list gnome org
- Subject: Re: get rid static libraries or fix them
- Date: Wed, 07 Feb 2007 13:54:35 -0500
On Wed, 2007-02-07 at 13:48 -0500, Owen Taylor wrote:
> On Wed, 2007-02-07 at 13:37 -0500, Tristan Van Berkom wrote:
>
> > FYI, I've sucessfully built static binaries that link against static
> > gtk+, if modules must be opened via dlopen, that is another issue -
> > you still get a statically linked program that searches for modules
> > and loads them with dlopen.
>
> But there is no guarantee that every symbol that the module needs has
> been linked into your static app. A theme engine(say) could use
> basically any GTK+ symbol, a statically built app is only guaranteed to
> include the GTK+ symbols that it uses.
Ah yes I completely overlooked this.
there is a program that I link glib statically and will continue
to do so since the risk is little to none for that case...
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]