[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BLINKER EXECUTABLE ALIGNMENT Specify alignment size for new .EXE file.
------------------------------------------------------------------------------
Purpose : Specify the alignment size for a new .EXE file.
Syntax : BLINKER EXECUTABLE ALIGNMENT <filealign>[,<secalign>]
Default : 16 bit executables 64 CA-Clipper.
16 All other languages.
32 bit executables 512, 4096.
Example : # Change alignment to 8 bytes for small .EXE
BLINKER EXECUTABLE ALIGNMENT 8
This command specifies the alignment size, and therefore the maximum file
size, for the new .EXE format files used for DOS extended and Windows
programs.
Segments and resources within 16 bit new .EXE files are referenced by 16 bit
page numbers, which makes 65535 the maximum page number and 1 MB the default
maximum .EXE size.
Sections and resources within 32 bit portable .EXE files are aligned to the
file alignment setting in the .EXE file and to the section alignment setting
when they are loaded into memory.
The alignments can be any valid power of 2, but the larger the alignment
size the larger the wasted space.
Alignment Maximum .EXE Size
8 512 Kb
16 1 Mb
32 2 Mb
64 4 Mb
128 8 Mb
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson