Microsoft KB Archive/24881

Limits of Linker ID Number: Q24881

2.4.0 2.41 2.44 3.00 3.01 3.02 3.04 3.05 3.51 3.55 3.60 3.61 MS-DOS

Question: What is the maximum size and number of .OBJ files the linker can handle? What is the maximum number of segments?

Response: LINK can handle .OBJ files up to 1 megabyte in size. It can handle a maximum of 1024 segments if the number is set using the /seg:1024 command option. LINK can handle any number of .OBJ files. If you run out of space on a line, end the line with “+” (plus) and LINK will look for more .OBJ files on the next line. For more information about the specific limits of each linker version, please see the entry in this database entitled “Table of Limitations.”