Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 1997 20:16:37 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        mike@smith.net.au (Mike Smith)
Cc:        nate@mt.sri.com, tlambert@primenet.com, jkh@time.cdrom.com, mike@smith.net.au, hsu@FreeBSD.ORG, hackers@hub.freebsd.org
Subject:   Re: shared library with static Motif?
Message-ID:  <199712072016.NAA28018@usr02.primenet.com>
In-Reply-To: <199712070640.RAA00701@word.smith.net.au> from "Mike Smith" at Dec 7, 97 05:10:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > But, aside from legalities the real issue hasn't been answered.  Is it
> > *technically* possible to link in a 'static' library into a 'shared'
> > library so that the end-user doesn't need a Motif library to get access
> > to the shared library?
> 
> Fairly obviously, no.  Shared libraries are built PIC, as their load 
> address is not known (and may vary across different mappings of a given 
> copy).  Static libraries are fixed up at link time, as offsets in them 
> are relative to their position in the executable, which is loaded at a 
> known (fixed) address.

rpc.motifd


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712072016.NAA28018>