[mod.computers.masscomp] Has anyone ported C++ to the Masscomp?

masscomp@soma.UUCP (Stan Barber, Moderator) (06/06/86)

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
  Entropic Processing, Inc., Cupertino, California
  Better living through entropy!

masscomp@soma.UUCP (Stan Barber, Moderator) (06/10/86)

>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