Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: LSC Resources ... what is THIS for? Message-ID: <2134@husc6.harvard.edu> Date: 29 Jun 89 01:09:37 GMT References: <10493@watcgl.waterloo.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Distribution: comp Organization: Symantec/THINK Technologies, Bedford, MA Lines: 27 In article <10493@watcgl.waterloo.edu> jasmith@watcgl.waterloo.edu (Jeff Smith) writes: > >I am just getting started as a Mac II programmer and I am forced (by my boss) >to use Lightspeed C. The compiler creates 5 different resource types: >CODE, DATA, DREL, ZERO and SIZE. I understand the CODE and DATA resources, but >I can't figure out what the other 3 are for. Can anybody tell me? CREL and DREL resources are used for runtime fixups related to data initialization to a5-relative addresses and other such things, ZERO resources are used for data initializations to zero values, and the SIZE resource is a standard MultiFinder partition size resource. --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel I classify myself as a real developer because my desk is hip-deep in assembly-language listings and I spend more than 50% of my time in TMON. ~~~~~~~~~~~~~~~