Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!mcnc!philabs!cubsvax!rocky2!rna!cmcl2!floyd!harpo!seismo!brl-tgr!brl-vgr!gwyn From: gwyn@brl-vgr.UUCP Newsgroups: net.unix-wizards Subject: Re: Problems with ar(1) and modified objects Message-ID: <413@brl-vgr.UUCP> Date: Thu, 19-Apr-84 18:38:16 EST Article-I.D.: brl-vgr.413 Posted: Thu Apr 19 18:38:16 1984 Date-Received: Tue, 24-Apr-84 05:29:57 EST References: dartvax.1177, <1731@iedl02.UUCP> Lines: 6 If main() is in the first module in the archive, then just cc arch.a suffices to link everything, since the run-time startoff already has a reference to the extern main (_main or whatever). If the archive has a table of contents (4.?BSD or latest AT&T UNIX), then the module containing main() need not even be first in the archive.