Entering content frame

 Link Operation 

Object files are linked to form a software component in the tmp directory. VMAKE then stores this component in a predefined (see below) directory, or in a target directory specified in the link description. The component is then deleted from the tmp directory.

For the link operation, VMAKE is equipped with various tools ( VMAKE tools) for each type of object file that can result from the translation process. VMAKE uses the file extension of the description file to decide which tool to use to link the respective object files.

The tool takes the object files and the relevant options to be used from the link description.

Software Component to be Created

Link Script

Target Directory

Program

linklnk

$DBROOT/pgm

Program that facilitates shared memory access

linkshm

$DBROOT/pgm

Static library

archive

$WRK/fast/obj or

$WRK/quick/obj or $WRK/slow/obj

Dynamic library

linkdll

$DBROOT/lib(32 bit)

$DBROOT/lib/lib64 (64 bit)

Program that can be linked to other programs

linkrel

$WRK/fast/obj or

$WRK/quick/obj or $WRK/slow/obj

Program that can be linked to other programs and facilitates shared memory access

linkshr

$WRK/fast/obj or

$WRK/quick/obj or $WRK/slow/obj

 

 

Leaving content frame