| Syntax: | Default: |
| link(alignFile, number) link(alignFile, numberK) |
This option sets the file alignment for segments or sections.
On
OS/2, the value of the number must be a power of 2 between 1 and
4K, inclusive. The linker uses this value to align all code and
data pages relative to the beginning of the executable file. The
value does not affect memory address alignment.
On
Windows, the value of the number must be a power of 2 between 512
and 64K, inclusive.
![]()
Incremental C++ Builds
C Compilation
Configuration
Files
Sections and Segments
