I want to extract some object modules from shared libraries
ending in .EXE.
Is it possible at all?
Is it possible with the librarian?
AXP 6.2 $ lib /list/share decc$shr.exe
%LIBRAR-F-OPENIN, error opening SYS$COMMON:[SYSLIB]DECC$SHR.EXE;1 as input
-LBR-E-ILLFMT, illegal library format
The Answer is:
A shareable library image (.EXE) is not a "library" in the same sense that
an object library is - it is a pre-linked collection of routines that cannot
be separated. There is no way to extract individual object modules from
a shareable image. You can find out what routines are defined in a shareable
library image - the easiest way is as follows:
$ LIBR/CREATE/SHARE TEMP image-filespec
$ LIBR/LIST/NAMES TEMP
Note that the library you are creating is just an index of the names in the
shareable image and nothing can be extracted from it.
For more information on shareable images, please refer to the Linker manual.