[SUMMARY] Shared libraries - creating, ldd?

From: Krzysztof Palacz <kappa_at_math.amu.edu.pl>
Date: Fri, 2 Feb 1996 18:37:55 +0100 (MET)

        Hi again,

        thanks for all the replies. Here is my original post:
> is there some sort of utility in DUnix with the functionality of
> Sun/Linux ldd, i.e. something that would show what a given executable has
> been dynamically linked against?
        The answer is:
        $ odump -Dl exe_file
(This utility can do much more - cf. manpage). Works exactly as I
wanted. Ravi C. Nukala suggested using the dbx command listobj (couldn't
check it out - we don't have the development licenses here yet).

> And my second problem: is creating
> shared libraries as easy in ECOFF as in ELF (i.e. compiling with -pic or
> -fpic and linking with -shared)?
        
        It is apparently even easier: J. Rozes wrote:
> COFF doesn't use position independent code (fixups can be handled at link
> time with the Quickstart system, afterwards, with rqs, or automatically at
> runtime, by the loader), so just compile the objects as you normally would,
> then link with ld as you would under ELF.
        
        Works fine.
        Among others who replied: Pierre Wendling, Ray Belli, Phil L.,
 Mike Iglesias, Paul E. Rockwell.
                                
                                        K. P.

        
Received on Fri Feb 02 1996 - 18:59:24 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT