stub Link Option (OS/2)

Syntax: Default:
link(stub[, fileName])
link(stub, no)
depends on type of target

This option establishes what stub is prepended to the target of a build. The stub is code that runs when a program is started from a DOS command line. A stub has no effect when the program runs from an OS/2 command line.

VisualAge C++ adds a default stub if the target is an executable file or DLL, and no stub to other types of targets.

If the default stub is run, it prints the following message:

This program will not run in DOS mode.

If you specify the name of a DOS-executable file, that program is prepended to the load module instead of the default stub.

If you specify link(stub, no), no stub is prepended to the load module.



Incremental C++ Build
C Compilation
Configuration Files


Set Build Options
Build


Link Options