The Python distribution contains an
embedding example in the [.DEMO.EMBED] directory. This has been copied to
[.VMS.DEMO.EMBED] and adapted for the OpenVMS environment.
This section gives some more hints.
Comments about some files:
- BUILD_DEMO.COM
- This file contains code copied and updated from [.VMS]DCC.COM and
LINKD_PY.COM. It is used to turn DEMO.C into DEMO_VAX.EXE or DEMO_ALPHA.EXE.
- DEMO.C
- Copied from [.DEMO.EMBED].
- DEMO_DCL_VAX.MAP or DEMO_DCL_ALPHA.MAP
- Map file from the link process.
- DEMO_VAX.EXE or DEMO_ALPHA.EXE
- Resulting executables.
- DEMO_VAX.OBJ or DEMO_ALPHA.OBJ
The demo is linked against the full interpreter and all of its extension
modules which creates a big '.EXE' file!
If this isn't wanted then it is possible to copy [.VMS]CONFIG.DAT to
[.VMS.DEMO.EMBED] and modify it. The new object module should be stored here,
too.
Finally, BUILD_DEMO.COM need be updated to link against the new version of
CONFIG_INITTAB.OBJ.
(go to: table of contents,
index)
19-AUG-1999 ZE.