Re: the *-config scripts

On Tue, Jun 06, 2000 at 05:57:00AM +0200, Tim Janik wrote:
> also, the --libs-only-L and --libs-only-l options featured by gnome-config
> should probably also be featured by gtk-config and glib-config and even
> be furtherly split up into --libs-only-L, --libs-only-l, --libs-only-l-self
> and --libs-only-l-system (where --libs-only-l is a superset of
> --libs-only-l-self (e.g. -lglib -lgmodule -lgthread) and
> --libs-only-l-system (e.g. -lpthread -ldl -lm) so we can implement
> proper implementation-level-ordered chaining of the *-config scripts.
> this is required especially to "demangle" the -L, -l and other -[misc]
> options, e.g.
> $ gnome-config --libs gnomeui$
> puts out:
> -rdynamic -L/usr/local/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl \
> -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lm \
> -lgnome -lgnomesupport -ldb -lglib -ldl
> which should better read:
> -L/usr/local/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl \
> -lgdk_imlib -lgtk -lgdk -lgnome -lgnomesupport -lgmodule -lglib \
> -lSM -lICE -lXext -lX11 -ldb -ldl -lm

Where does the -rdynamic fit into this? $LIBS_PATH or $LIBS_LINK_SELF?
Or a new category of its own?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]