On Sat, Mar 30, 2002 at 01:53:26PM +0600, Dmitry Yu. Bolkhovityanov wrote:
> On Fri, 29 Mar 2002, Olivier Chapuis wrote:
> 
> > - if shared is enabled (and the system support shared lib) fvwm
> > will build and install a sharable library libfvwm.so-version and
> > fvwm2 and the modules will be dynamically linked to this library.
> > Of course the system must be able to perform the dynamic link
> > (e.g., for Linux either updating /etc/ld.so.conf and run ldconfig
> > or adding the directory "lib" directory in LD_LIBRARY_PATH after
> > the install).
> 
>       ELF allows to embed this directory into the binary, so there's no
> need to touch either ld.so.conf or LD_LIBRARY_PATH [1].  This is achieved
> with "-rpath" option to the linker.  According to Linux's ld(1), Solaris
> also supports this feature, and SunOS additionaly requires "-rpath-link".
> I've checked DEC OSF1 4.0 and IRIX 6.5, and both of them do support
> "-rpath". In OpenBSD this switch is called "-R", but at least in 2.7
> "-rpath" is also accepted for compatibility with GNU ld.
> 
>

Yes, thanks for the tip. If we implement shared lib we may use this
and I hope that libtool resolves all system dependent stuff (it is
one of the reason of its existence).

Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to