data Link Option (OS/2, Windows)

Syntax: Default:
link(data, attributes) link(data,"RW")

This option specifies default attributes for all data sections in the application being built.

To specify the attributes, include one or more of the section attribute letters in the attribute string, in any order. For example, the following line sets the READ, SHARED and WRITE attributes, but not EXECUTE attribute:

link(data, "RSW")

You can also set the attributes of individual sections with link(section, name, attributes) and of code sections with link(code, attributes), subject to the following restrictions:



Incremental C++ Builds
C Compilation
Configuration Files
Sections and Segments


Set Build Options
Build


Link Options