Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!pyramid!decwrl!glacier!navajo!rokicki From: rokicki@navajo.STANFORD.EDU (Tomas Rokicki) Newsgroups: net.micro.amiga Subject: Re: C compiler comparison Message-ID: <916@navajo.STANFORD.EDU> Date: Fri, 10-Oct-86 18:58:58 EDT Article-I.D.: navajo.916 Posted: Fri Oct 10 18:58:58 1986 Date-Received: Sat, 11-Oct-86 21:49:54 EDT References: <8610071955.AA15436@cory.Berkeley.EDU> <962@tekigm.UUCP> Organization: Stanford University Lines: 14 Summary: Data segment > 64K In article <962@tekigm.UUCP>, phils@tekigm.UUCP (Phil Staub) writes: > Data segments, however, are limited to 64k in small model. Data are accessed > by 16-bit offsets from a pointer to the *center* of the data segment. . . . he goes on about using the large data model with the libraries which are compiled with the small data model . . . Usually a better solution, and one I use, is to allocate my large data structures with AllocMem() (or malloc().) This way, not only can that large data segment be split into chunks, making it more likely to load into a fragmented memory, but the compilation is straightforward. 64K is a lot of data segment . . . -tom