Thread View: mod.computers.masscomp
1 messages
1 total messages
Started by Stan Barber, Moderator
Tue, 10 Jun 1986 06:28
Has anyone ported C++ to the Masscomp?
Author: Stan Barber, Moderator
Date: Tue, 10 Jun 1986 06:28
Date: Tue, 10 Jun 1986 06:28
22 lines
1414 bytes
1414 bytes
>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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads