From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076329121077.tru64-unix-managers.marc@archive.invalid> From: Krzysztof Palacz Date: Fri, 02 Feb 1996 17:37:55 +0000 To: tru64-unix-managers Subject: [SUMMARY] Shared libraries - creating, ldd? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076329121077 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.