Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!lll-winken!iggy.GW.Vitalink.COM!widener!netnews.upenn.edu!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.sys.amiga.programmer Subject: Re: Any restrictions with making programs PURE? Message-ID: <1991Apr29.130835.2126@msuinfo.cl.msu.edu> Date: 29 Apr 91 13:08:35 GMT References: <1991Apr12.203658.11790@unlinfo.unl.edu> Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University Lines: 25 dillon@overload.Berkeley.CA.US (Matthew Dillon) writes: >In article mwm@pa.dec.com (Mike (My Watch Has Windows) Meyer) writes: >>In article dillon@overload.Berkeley.CA.US (Matthew Dillon) writes: >> Well, not quite.. with SAS/C you also have to #include , >> but it still isn't much. >> > Otherwise SAS/C takes the tag from the large-data amiga.lib. Try using the supplied "lib:small.lib", it does not have the C tags, so you are forced to use the #pragmas. Doing this, the linker will inform you when you forgot to include to proper pragmas. (Besides, small.lib is smaller, so linking is faster) > With DICE you are only required to have prototypes if you use the -mRR > (registered args) option, NOT if you simply want to make something > residentable. > It's not a big issue, but I *have* been forced more than once to > include a massive amount of include files in SAS/C just to get > something residentable, which often brings in extern's for library > base variables which I definitely do NOT want. If you #include , then you only get the pragma, and not all the other junk.