PRB: Error L1008 May Be Caused By Incorrect Syntax for /SE

ID Number: Q80130

3.x 4.x 5.0x 5.10 5.13 5.20 | 5.0x 5.10 5.13 5.20

MS-DOS | OS/2

docerr

Summary:

SYMPTOMS

In the Microsoft LINK utility, if the /SE[GMENTS] switch is used

without specifying the ":number", LINK will generate the following

error:

LINK : fatal error L1008 : Segment limit set too high.

Omitting the colon before the number, putting white space between

/SE and the colon, or putting white space between the colon and

the number will also produce the error.

RESOLUTION

The correct syntax for the switch is:

/SE[GMENTS]:number

More Information:

The Microsoft QuickC for Windows (QC/Win) version 1.0 help, page 217

of the "Microsoft Quick C for Windows Toolkit," the FORTRAN 5.1

QuickHelp, page 384 of the "FORTRAN 5.1 Environment and Tools," the

MASM 6.0 QuickHelp, and page 359 of the MASM 6.0 "Microsoft Macro

Assembler Programmer's Guide" show the syntax of the option as

/SE[GMENTS][:number]

incorrectly giving the :number as optional.

Additional reference words: 1.00 6.00 5.10 3.00 3.01 3.02 3.04 3.05

3.06 3.51 3.55 3.60 3.61 3.64 3.65 3.69 4.06 4.07 4.10 5.01.20

5.01.21 5.03 5.05 5.10 5.13 5.15 5.20