errors.hlp (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.
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Fatal LINK error L1071
 
     segment _TEXT larger than 65520 bytes
 
     This error is likely to occur only in small-model C programs, but
     it can occur when any program with a segment named _TEXT is linked
     using the /DOSSEG option of the LINK command.
 
     Small-model C programs must reserve code addresses 0 and 1; this
     range is increased to 16 for alignment purposes.
 
     Try compiling and linking using the medium or large model. If the
     program is in C, use the /NT option or the #pragma alloc_text to
     build smaller segments.
                                    -♦-