Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watcgl!onfcanim!dave From: dave@onfcanim.UUCP Newsgroups: comp.lang.c,comp.unix.questions Subject: Re: Question on large arrays in C Message-ID: <15227@onfcanim.UUCP> Date: Fri, 20-Feb-87 19:04:35 EST Article-I.D.: onfcanim.15227 Posted: Fri Feb 20 19:04:35 1987 Date-Received: Sat, 21-Feb-87 04:51:53 EST References: <1051@uwmacc.UUCP> <4124@utcsri.UUCP> <1514@ttrdc.UUCP> Reply-To: dave@onfcanim.UUCP (Dave Martindale) Organization: National Film Board / Office national du film, Montreal Lines: 9 Xref: utgpu comp.lang.c:1108 comp.unix.questions:1126 In article <1514@ttrdc.UUCP> levy@ttrdc.UUCP (Daniel R. Levy) writes: >. A "static" declaration in C, >either inside or outside of a function, I have found to result in each >and every byte being initialized data. Ugh. With what compiler? The 4.2BSD C compiler statics, either external or local to a function, into ".lcomm", which ends up in the bss segment. Only initialized statics end up in the data segment. Sounds like your compiler or loader is lazy or broken.