Previous Topic Next topic Print topic


Linking PL/I programs

Attention: You must recompile and relink your PL/I applications to use them with this Enterprise Developer release.

When you link a program, you link it to any run-time support modules that it uses, and to the run-time system that it needs.

To configure linking, right-click the project in the PL/I Explorer view and choose Properties, expand the Micro Focus > Build Configurations > PL/I Link Settings node. The following options can be set:

Common options

Output type
Select the type of output files to create:
Single executable native library
One .dll file for the whole project.
Single executable
One .exe file for the whole project.
Single library
One .lib file for the whole project.
All executable native libraries
A .dll file for each .pli source file in the project.
All executables
An .exe file for each .pli source file in the project.
All libraries
A .lib file for each .pli source file in the project.

The default value is "All executable native libraries".

Output filename
Filename to use when creating a single output target type (either single executable or single library).
Additional options
Enter any other required compiler directives in this text box.

Advanced options

Note: Refer to the Microsoft linker documentation for further information on these setttings.
Base address
Sets a base address for the program.
Entry-point symbol
Sets the starting address.
Force file output
Forces a link to complete even with unresolved or symbols defined more than once.
Set heap size
Sets the size of the heap in bytes.
Generate mapfile
Creates a mapfile.
Stack allocations
Sets the size of the stack in bytes.
Verbose output
Output information about the progress of the linking session.

Additional Link Files

Use this dialog box to select other items to be linked to your program.

Previous Topic Next topic Print topic