LINK Help (linker.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
/SEG Option
                                             Up Contents Index Back
─────LINK───────────────────────────────────────────────────────────────────
 
     Syntax:  /SE[GMENTS][:number]
 
     The /SEG option sets the maximum number of logical segments.
     Specify <number> in the range 1-16,384. The default is 128. The
     maximum number of segments is constrained by available memory.
     See: Entering Numeric Arguments
 
     LINK allocates memory for information on each logical segment. A
     low segment limit lets LINK run faster and reduces the chance that
     LINK will run out of memory. A higher limit lets LINK allocate
     more space for segment information at the cost of lower speed.
 
     If the limit is too high for the amount of memory available,
     LINK displays error L1054 "requested segment limit too high". If
     this happens, link again using /SEG to set a smaller limit.
 
     Use /INFO or /MAP to get the number of logical segments.
     See: /INFO Option
          /MAP Option
                                    -♦-