Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Interesting Link Error

22 views
Skip to first unread message

Peter J. Seymour

unread,
Apr 26, 2013, 3:16:28 AM4/26/13
to
Actually, it is probably not that interesting, but I got this msg from
LINK386: L1049 Too many segments.
No big deal. The cause seemed to be that I had a lot of EXT fields
declared in the program. I will just put them into a structure rather
than up the limit in the linker, I don't like the idea of a
proliferation of segments.
This can be the first item in my book of PC programming tips. (The idea
appeals to me. I used to maintain a mainframe standards manual).

Peter Flass

unread,
Apr 26, 2013, 2:28:00 PM4/26/13
to
The TIS spec says "Many linkers impose a limit of 255 SEGDEF records per
object module." I think there's an absolute limit of 2**15-1 segments.

--
Pete
0 new messages