[mercury-users] Debian package stuff
William Lee Irwin III
wli at cs.purdue.edu
Tue Jan 25 14:01:41 AEDT 2000
On 22-Jan-2000, William Lee Irwin III <wli at cs.purdue.edu> wrote:
[description of dynamic linking problem]
On Tue, Jan 25, 2000 at 01:31:15PM +1100, Tyson Dowd wrote:
> I'm not entirely sure what you mean. The runtime system libraries in
> the Debian version (as with all versions) work fine as either shared
> libraries or static libraries. The default is static linking on the x86
> because it creates significantly faster executables (-fPIC has a
> significant overhead for Mercury) (actually it's static on all sorts of
> Linux, but that's just an oversight, it should probably be just x86
> Linux).
Apparently, this confusion or whatever it was was due to an
oversight of mine.
On Tue, Jan 25, 2000 at 01:31:15PM +1100, Tyson Dowd wrote:
> We link with the libgc.so we supply. The mmake script is configured to
> take care of all this automatically. It uses -rpath.
>
> $ mmc --pic-reg --link-flags --shared hello.m
[related commands and output]
The --pic-reg option appears to be what was throwing me off. I guess
I'll have to read about it and use it. This clears up the issue in itself.
On Tue, Jan 25, 2000 at 01:31:15PM +1100, Tyson Dowd wrote:
> You may want to look around in the scripts directory to see how this all
> works. One outstanding work item is actually getting all this stuff to
> work *without* using -rpath (use ldconfig instead). Because of all the
> grades we make available, this is a little non-trivial.
That's something I'm interested in doing, though I've got some
hardware to replace before I do it in earnest. I've done some minor
futzing around before on Solaris/SPARC, though nothing quite that
in-depth.
Thanks a lot,
Bill
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list