Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!hacgate!lori From: lori@hacgate.scg.hac.com (Lori Barfield) Newsgroups: comp.sys.apollo Subject: Re: Apollo ANSI standard C? How close? Should it matter? Summary: notes from San Diego conference Message-ID: <4203@hacgate.scg.hac.com> Date: 29 Jun 89 00:19:24 GMT References: <8906271541.AA06634@scrolls.wharton.upenn.edu> Organization: Hughes Aircraft Company, El Segundo CA Lines: 76 In article <8906271541.AA06634@scrolls.wharton.upenn.edu>, shull@SCROLLS.WHARTON.UPENN.EDU writes: > > As chair of a Local Apollo Users' Group, I have been asked to find > out how close Apollo C under 10.1 is to ANSI C? I'm not sure how much of the viewgraphs Jim Kumorek of Apollo passed out at the Sys Admin Conference in San Diego apply to C, but I'll try to weed out appropriate notes. Hope this helps. 1. CC will be "fully ANSI compliant by the release following the next release," i.e., the release after SR10.2 includes const, signed, volatile 2. SR10.2 is "due out in September/October." 7. New CC features for SR10 function prototypes reference variables generic pointers (void *) cpp for /bin/cc "some new features for cross-language communication" case correct global symbols (pas, ftn force to lower case now) inline functions for "some routines" in and 8. New CC features for SR10.1 '-compress' option cross compiler for 68k-->AT x. Pascal at SR10 set up for cross-language communication c_param, a0_return and d0 (I don't remember what that means) 2. SR10 gotcha: COFF code size size will be much larger under SR10 because data section is no longer compressed so compile with '-compress' and '-nclines', then use 'strip' ('-nclines' available at SR10.2) 3. SR10 gotcha: PRISM compilers very slow compiler time cut in half at 10.2 4. Current gotcha: object files don't pass through NFS gateways at 10.2, object files will pass through gateways 5. SR? gotcha: _STDC_ preprocessor symbol really only means function prototyping is in effect, not ANSI compatibility to prevent setting this symbol, use '-nstdc' switch use '-U_STDC_' to remove definition from /bin/cc Please note that I'm just doing my best to interpret what I heard/wrote. My experiences with C are mostly limited to VMS. ...lori lori@hacgate.scg.hac.com