library archive problem
Dave Hammond
daveh at marob.MASA.COM
Tue Jun 7 01:48:36 AEST 1988
In compiling a large program I am getting a /bin/ld error "too many segments".
While I realize this is peculiar to '286 machines (which I will take up with
comp.unix.xenix), a general program assembly question persists:
1. Is there any (dis)advantage to archiving conceptually unrelated
modules in separate libraries when they are destined to compile into
one large program anyway? (BTW- by conceptually unrelated I mean
modules which make up sub-systems within an overall system).
Is there any taboo on creating a library archive with many, many
modules ?
2. What (if any) extraneous code is included in programs which
specify a library archive on the command line and no modules within
that library are called? Also, same question where the archive contains
many modules but only one of the modules is called?
Dave Hammond
UUCP: ...!marob!daveh
--------------------------------
More information about the Comp.unix.questions
mailing list