Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!syd From: syd@DSI.COM (Syd Weinstein) Newsgroups: comp.mail.elm Subject: Re: CT Miniframe won't compile ELM (new info) Keywords: Convergent elm miniframe 68010 arrr! Message-ID: <1991Apr17.195859.26819@DSI.COM> Date: 17 Apr 91 19:58:59 GMT References: <171@kbvan.com> Reply-To: syd@DSI.COM Distribution: usa Organization: Datacomp Systems, Inc. Huntingdon Valley, PA Lines: 31 dave@kbvan.com (Dave Van Allen) writes: >The specifics: CT Miniframe-1.5 meg memory-100meg HD > ELM PL11 > CTIX 3.2 SysV OS (suppose to be very vanilla) > Has both cc and mcc (not Mcc) compiler -O works >(I'm told that the compiler is limited to 8 character defines? variables?) Yup, from the messages: >../hdrs/sysdefs.h: 46: DEFAULT_ redefined >../hdrs/sysdefs.h: 90: default_ redefined Thats the problem. Its a killer for you. The older System III C compiles treated all names as only the first 8 were considered. Elm does not follow that rule and many names are the same for the first 8 and only differ there after. Long ago, Dave distributed a shortnames.h file that would get around this, but as system 3 got older and older, I have dropped that. Sorry, we only support compiles that have the modern length (min 32, normal 127 or 255) for variable names. Now, there are some programs in the c.s.unix or c.s.misc archives that will do a cross reference and translate the names via defines, but those depend on the pre-processor having the longer names and only the compiler the shorter ones. But as you can see from the messages yours has both being shorter. I vote for S. O. L. on this one. -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 syd@DSI.COM or dsinc!syd FAX: (215) 938-0235