Re: Alternate file types for RUN ?
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Tue, 24 Oct 2006 20:01:08 -0400
JF Mezei wrote:
Arne Vajhøj wrote:When did you last see a static linked image on VMS ?
Run time libraries such as the C RTL are associated with the image at
link time. While you may be able to do tricks with logicals to use a
different file, the association is still static since symbols are
resolved at link time and the image will just branch to specific
addresses where the routine is expected to reside within the shareable
image.
This is qwuite diffferent from lib$find_image_symbol where nothing
happens at link time and the finding and resolving of symbols within
some image file is done truly at run time.
No and no.
Static linking means that the code of the library is in the
executable EXE.
Dynamic linking means that the code of the library is in a
shareable EXE.
Static linking is a concept practically unknown on VMS.
And there are not that big a difference between
the shareable images being referred to in the
executable image and using LIB$FIND_IMAGE_SYMBOL.
I assume that they both use the undocumented
SYS$IMGACT and SYS$IMGFIX. Your code are significant
different, but the mechanism to determine
what to load should be the same.
Arne
.
- Follow-Ups:
- Re: Alternate file types for RUN ?
- From: Dave Froble
- Re: Alternate file types for RUN ?
- References:
- Alternate file types for RUN ?
- From: JF Mezei
- Re: Alternate file types for RUN ?
- From: davidc
- Re: Alternate file types for RUN ?
- From: FredK
- Re: Alternate file types for RUN ?
- From: JF Mezei
- Re: Alternate file types for RUN ?
- From: Stephen Hoffman
- Re: Alternate file types for RUN ?
- From: JF Mezei
- Re: Alternate file types for RUN ?
- From: Arne Vajhøj
- Re: Alternate file types for RUN ?
- From: JF Mezei
- Alternate file types for RUN ?
- Prev by Date: Re: HP eyes top VMS people for cuts
- Next by Date: Re: Using Cobol when writing CGI's for the OSU web server.
- Previous by thread: Re: Alternate file types for RUN ?
- Next by thread: Re: Alternate file types for RUN ?
- Index(es):
Relevant Pages
|