Binder Manual (G06.24+, H06.03+)

Using Binder
Binder Manual528613-003
2-8
Binding Rules
Here are the rules for binding modules together:
You can bind object files that are in the same Binder group; the target object file
runs in the same environment as the input object files.
You can bind object files that include routines from both the OLD and NEUTRAL
Binder groups; the target object file runs in a language-specific run-time
environment.
You can bind object files that include routines from both the COMMON and
NEUTRAL Binder groups; the target object file runs in the CRE.
You cannot bind object files that include routines from both the COMMON and OLD
Binder groups.
When you bind object files compiled for different environments, each procedure retains
its original ENV attribute.
NEUTRAL C D-series compilers with ENV EMBEDDED
specified
D-series compilers with ENV LIBSPACE
specified
Pascal C-series compilers with ENV EMBEDDED
specified
C-series compilers with ENV LIBSPACE
specified
D-series compilers with ENV EMBEDDED
specified
D-series compilers with ENV LIBSPACE
specified
TAL C-series compilers by default
D-series compilers by default
D-series compilers with ENV NEUTRAL
specified
Note. If you specify the ENV NEUTRAL directive in a TAL source file, BINSERV does not allow
the resulting object file to be combined (for example, through a SEARCH directive) with object
files compiled for the COMMON or OLD Binder groups. This rule prevents files from gaining the
COMMON or OLD attributes.
Table 2-2. Binder Grouping of ENV Directive Parameters (page 2 of 2)
Binder Group Language Generated by: