Does anybody know how to determine automatically what option shuold be
used in options file
when we create shared library from object library. We create
automatically options file which contains
all symbols from OLB, but we don't know how to determine when we should
use
SYMBOL_VECTOR=(symbol=DATA)
instead of
SYMBOL_VECTOR=(symbol=PROCEDURE)
After first creating EXE, we know what need to be changed in options
file, because linker displays messages
like following:
%LINK-W-SYMVABNORMAL, Symbol CXXL$PNTTRCSNKSCXX1F7F3107DNOO4
defined in module TRACE_SINKS as DATA
was declared in options as PROCEDURE
As you can see we use CXX compiler (VMS 7.3-1 and 7.3-2). Problem starts
when we need build
different distributions using diffrent CXX versions. Name mangling is
different, so we have to
maintain diffrent options files.
Thanks for help,
Robert
> Does anybody know how to determine automatically what option shuold be
> used in options file
> when we create shared library from object library.
Read the Shareable Image Cookbook:
http://h71000.www7.hp.com/wizard/swdev/ovms-shexe-cook.html
and of course the OpenVMS Linker Utility manual:
Jouk
ftp://saf.bio.caltech.edu/pub/software/openvms/make_opt_from_olb.com
Regards,
David Mathog
mat...@caltech.edu
Many thanks for all,
Robert