Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!bellcore!ulysses!cbosgd!soma!masscomp From: masscomp@soma.UUCP (Stan Barber, Moderator) Newsgroups: mod.computers.masscomp Subject: Has anyone ported C++ to the Masscomp? Message-ID: <898@soma.UUCP> Date: Tue, 10-Jun-86 02:28:16 EDT Article-I.D.: soma.898 Posted: Tue Jun 10 02:28:16 1986 Date-Received: Tue, 10-Jun-86 19:52:12 EDT Reply-To: shell!ihnp4!cbosgd!crdnl!kvb Organization: Masscomp Users' Society Lines: 22 Approved: masscomp@soma.uucp >In particular, does anyone have C++ running on a Masscomp >5600 (or 54,55,5700) running RTU 3.0? Thanks. > Joe Buck {ihnp4!pesnta,oliveb,csi}!epimass!jbuck The changes required to port c++ to the masscomp mc5500 were trivial. The changes required were: 1. Modified CCc to add line O="O +L" because masscomp cc expects .c files 2. Set iobuf size to 512 From 1024 in stdio.h (BUFSIZ) 3. Set nobufs from 20 to 40 in stdio.h (_NFILE) 4. Modify *_ptr and *_base fields in _iobuf to unsigned char (also in stdio.h). If you plan to use mdb with your c++ programs, save the output of the translator (as ..c files). One way to do that is to modify the CCc shell script to recognize a debug flag and, if present, skip the delete of the ..c files. You will also have to tell mdb that the source files are ..c of course. Ken Brown ..cbosgd!crdnl!kvb