Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-vgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!brl-tgr!brl-vgr!gwyn From: gwyn@brl-vgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Problems with ar(1) and modified objects Message-ID: <413@brl-vgr.ARPA> 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: Fri, 20-Apr-84 02:32:00 EST References: dartvax.1177, <1731@iedl02.UUCP> Organization: Ballistics Research Lab 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.