[10408] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: static link w/gtk

daemon@ATHENA.MIT.EDU (Matt Rosencrantz)
Tue Nov 24 16:10:13 1998

Date: Tue, 24 Nov 1998 13:21:18 -0800
To: gtk-list@redhat.com
From: Matt Rosencrantz <Matthew.J.Rosencrantz@jpl.nasa.gov>
In-Reply-To: <Pine.LNX.3.95.981124155143.14457A-100000@shell.ncm.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

>That's fine and dandy if you want to waste time by compiling only static
>libs.  By default, both static & shared libs are built so there should be
>an easy way to use the static libs.  Since gtk-config is used to give the
>cflags and link options, it should also be able to give the user the
>proper flags to link only the gtk libs statically if the gtk package has
>been configured to use static libs.
This is exactly what I want to do, link the gtk libs statically and the X
and math libs dynamically.

but, how do you set the compiler flags to link some libs statically and
some libs dynamically?

-matt

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post