Re: SunOS linking (was: Re: Outstanding GTK+ patches)



Tim Janik wrote:

> >  Adds -R to the output of glib-config; I think one of the GNU info
> >  pages has some manifesto as to why -R is evil... but otherwise
> >  might be OK. (Would require the corresponding change to gtk
> >  to be useful)
>
> REMOVED
>
> can we have confirmation/refusals from other SunOS people on this topic?

It is true, indeed. If I link with `glib-config --libs`, still the lib path
must be in LD_LIBRARY_PATH for the program to be able to run. This can be
fixed by using the -R or -rpath option. The -R option would be to prefer,
because it works for both gnu ld and sun ld. Both sun ld and gnu ld are
working with AND withour spaces after -R here on my platform though.

Bye,
Sebastian
-- 
Sebastian Wilhelmi                   |            här ovanför alla molnen
mailto:wilhelmi@ira.uka.de           |     är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi   |



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