NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

/ALIGN (Section Alignment)

/ALIGN[:number]

This option specifies the alignment of each section within the linear address space of the program. The number argument is in bytes and must be a power of two. The default is 4K (4096). The linker issues a warning if the alignment produces an invalid image.

Unless you are writing an application such as a device driver, you should not need to modify alignment.

It is possible to modify the alignment of a particular section with the align parameter to the /SECTION option.

The alignment value that you specify cannot be smaller than the largest section alignment.

See Also

Setting Linker Options | Linker Options | FAQ: Building Your Program