Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!sdcsvax!jww From: jww@sdcsvax.UCSD.EDU (Joel West) Newsgroups: comp.sys.mac,comp.lang.c Subject: Re: C compiler for Mac: responses Message-ID: <3252@sdcsvax.UCSD.EDU> Date: Sun, 31-May-87 01:44:21 EDT Article-I.D.: sdcsvax.3252 Posted: Sun May 31 01:44:21 1987 Date-Received: Tue, 2-Jun-87 01:13:14 EDT References: <2068@emory.UUCP. <3243@sdcsvax.UCSD.EDU> <6366@dartvax.UUCP> Organization: Western Software Technology, Vista, CA Lines: 15 Keywords: Macintosh Aztec Lightspeed MPW C compiler Xref: mnetor comp.sys.mac:3571 comp.lang.c:2275 On a 68000, 16-bit address displacements are always signed, hence 32k. MPW's default data segment is 32K. You can't have more globals than that (I don't understand if there's a technical reason they can't support multiple segments or longer segments, or that they just haven't gotten around to it.) Having two programs with segments > 32K could be a problem, since the jump table for cross-segment references only goes 32K in. -- Joel West {ucbvax,ihnp4}!sdcsvax!jww (ihnp4!gould9!joel if I ever fix news) jww@sdcsvax.ucsd.edu if you must