Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxj!mhuxr!ulysses!allegra!mit-eddie!genrad!teddy!panda!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.lang.c Subject: Re: Re: Lattice/UNIX incompatibility Message-ID: <6851@brl-tgr.ARPA> Date: Sun, 30-Dec-84 21:08:20 EST Article-I.D.: brl-tgr.6851 Posted: Sun Dec 30 21:08:20 1984 Date-Received: Tue, 1-Jan-85 00:52:54 EST References: <6845@brl-tgr.ARPA> Organization: Ballistic Research Lab Lines: 11 > To get the unix multiple declaration effect, you need only make the > declarations look like labelled COMMON to the linker. This reserves space, > with all the areas overlapping and the *largest* determining the amount of > space allocated by the linker. Many such linkers impose unacceptable restrictions on labeled COMMON, such as: only a small number of them allowed; aligned on 4Kb boundaries; etc. Although Ritchie favors the COMMON model, due to lack of universality the ANSI C standards committee has settled on the DEF/REF model, with the COMMON model relegated to the "Common extensions" appendix.