[HECnet] building simh

H Vlems hvlems at zonnet.nl
Tue Apr 10 20:16:38 PDT 2012


OK, thanks Dave

-----Oorspronkelijk bericht-----
Van: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] Namens
Dave McGuire
Verzonden: dinsdag, april 2012 21:06
Aan: hecnet at Update.UU.SE
Onderwerp: Re: [HECnet] building simh

On 04/10/2012 02:38 PM, H Vlems wrote:
the -l switch is clear. The static and dynamic libraries are still vague.
Is the behaviour of a dynamic library similar to what VMS does when you
link
an object file to one of the RTL libraries? Which means it gets linked to
an
entry point and you can upgrade the RTL and the executable will keep
working
(provided the entry point is still there)?

A static library's behaviour is like linking with object libraries where
part of the library is copied into the resulting .exe file?

  Yes, basically.   Code in a static library gets embedded into the
executable at link time, whereas in a dynamic library, the dynamic
linker pulls in the contents of the .so file and resolves all of the
symbol references at run time.

                        -Dave

-- 
Dave McGuire, AK4HZ
New Kensington, PA



More information about the Hecnet-list mailing list