Skip to content

Page 1

Program Description

Date Norsk Data A.S Page 1 of 3
86.10.16

Product

Name Reg. no. Category
C-COMPILER for ND-500 210761B STPR

Reason

New product
X

Documentation

Title ND-no.
C-COMPILER ND-100/500 User Manual 60.214.01

Purpose

Compiler for the programming language C

Prerequisites

Computer Type Floating format Op. system Version
ND-500 SIN III VSX >=J

Minimum mass storage resources for installation

User Userspace Number of files
200 pages on 3 files
50 pages on 13 files
SYSTEM 40 pages on 2 files

Minimum permanent mass storage resources

User Userspace Number of files
200 pages on 3 files
50 pages on 13 files
SYSTEM 35 pages on 2 files

Source Files

File no. File Name Type T Containing
205553B INSTALL-1DA-B MODE I Install. of CC-500
208751B INSTALL-1DB-B MODE I Install. of C-Include
208752B INSTALL-1SB-B MODE I Install. of CC-500
208753B INSTALL-1SA-B MODE I Install. of HEADER/LIB
208754B INSTALL-2S-B MODE I Install. of C-Include
208755B INSTALL-3S-B MODE I Install. of C-Include
208756B CC-HEADER-A-B NRF I C-Predefinitions
208757B CC-LIBRARY-A-B NRF I C-Runtime System
208758B CC-500-B LINK I C-Compiler
208759B CC-500-B PSEG I C-Compiler
208760B CC-500-B DSEG I C-Compiler
205554B CAT-B C I C-Include-file
205555B 500-CTYPE-B H I C-Include-file
205556B 500-ERRNO-B H I C-Include-file
205557B 500-FCNTL-B H I C-Include-file
208761B 500-IOCNTL-B H I C-Include-file
205564B 500-MATH-B H I C-Include-file
208762B 500-NAN-B H I C-Include-file
205566B 500-MEMORY-B H I C-Include-file
205519B 500-SETJMP-B H I C-Include-file
205559B 500-STDIO-B H I C-Include-file
205562B 500-STRING-B H I C-Include-file
208763B 500-VALUES-B H I C-Include-file
205563B 500-VARARGS-B H I C-Include-file

Note: <rev> is to be replaced by current revision level. This version is the first official version of this product.


Page 2

Program Description

Product Name Reg. no. Category
C-COMPILER for ND-500 210761B STPR

1. Error Correction

1) The following errors have been corrected:

2) Floating point constants were compiled wrong in several ways.

3) Missing #endifs were not reported.

4) Programs containing large structures, over 8k byte, could not be compiled in debug mode.

5) sscanf() could sometimes fail.

6) Random access write's after the end of a file could sometimes be mishandled.

7) Invalid debug is corrected.

2. Changes / Addition

1) To use command lines longer than are allowed by SINTRAN-III, there exists a possibility to put text from a file into the command line. This is done by writing @filename on the command line when starting a C-program.

2) A new library function tused() that executes the SINTRAN monitor call with the same name, tused() returns -1 on error.


Page 3

Installation Procedure

Installation procedure for double density diskettes

Log in as user SYSTEM, create the user <C-Include> with 50 pages if it doesn't already exist, and perform the following commands:

@ENTER-DIRECTORY 210761B<rev>-XX-01D,FLOPPY-DEVICE-<device>,<unit>,
@MODE (210761B:FLOPPY-USER)INSTALL-1DA-B:MODE,...

Enter <C-Include> and perform:

@MODE (210761B:FLOPPY-USER)INSTALL-1DB-B:MODE,...
@RELEASE-DIRECTORY 210761B<rev>-XX-01D

Installation procedure for single density diskettes

Log in as user SYSTEM and create a new user <directory:dummy-user> with 250 pages and the user <C-Include> with 50 pages, if it doesn't already exist. Perform the following commands:

@ENTER-DIRECTORY 210761B<rev>-XX-01S,FLOPPY-DEVICE-<device>,<unit>,
@MODE (210761B:FLOPPY-USER)INSTALL-1SA-B:MODE,...

Enter <Dummy-user> and perform:

@MODE (210761B:FLOPPY-USER)INSTALL-1SB-B:MODE,...
@RELEASE-DIRECTORY 210761B<rev>-XX-01S
@ENTER-DIRECTORY 210761B<rev>-XX-02S,FLOPPY-DEVICE-<device>,<unit>,
@MODE (210761B:FLOPPY-USER)INSTALL-2S-B:MODE,...
@ND LINK-LOADER
N1:RENAME-DEFAULT (<directory:dummy-user>)
N1:EXIT
@RELEASE-DIRECTORY 210761B<rev>-XX-02S

Enter <C-Include> and perform:

@ENTER-DIRECTORY 210761B<rev>-XX-03S,FLOPPY-DEVICE-<device>,<unit>,
@MODE (210761B:FLOPPY-USER)INSTALL-3S-B:MODE,...
@RELEASE-DIRECTORY 210761B<rev>-XX-03S

Now the compiler is created on the user <dummy-user>. The compiler may be copied to a <domain-user> with the command COPY-DOMAIN in the Linkage-Loader.

ooo  ND Norsk Data  ooo
Scanned by Jonny Goodacre for Sintran Data © 2012


Page 4

ND Software Library Diskette

Containing

C-Compiler for ND-500

Directory Name: 210761B00-XX-01D
User Name: FLOPPY-USER

File Access

Nr File Name Type T Public Friend Own Pages Bytes
0 DESCRIPTION-FILE DESC I R R RWACD 12 22527
1 INSTALL-10A-B00 MODE I R R RWACD 2 620
2 INSTALL-10B-B00 MODE I R R RWACD 3 2049
3 CC-HEADER-A-B00 NRF I R R RWACD 2 534
4 CC-LIBRARY-A-B00 NRF I R R RWACD 28 53519
5 CC-500-B00 LINK I R R RWACD 13 23872
6 CC-500-B00 PSEG I R R RWACD 62 123167
7 CC-500-B00 DSEG I R R RWACD 132 266656
8 CAT-B00 C I R R RWACD 2 650
9 500-CTYPE-B00 H I R R RWACD 2 851
10 500-ERRNO-B00 H I R R RWACD 2 1733
11 500-FCNTL-B00 H I R R RWACD 2 1066
12 500-IOCTL-B00 H I R R RWACD 2 574
13 500-MATH-B00 H I R R RWACD 2 505
14 500-MEMORY-B00 H I R R RWACD 2 126
15 500-NAN-B00 H I R R RWACD 2 379
16 500-SETJMP-B00 H I R R RWACD 2 308
17 500-STDIO-B00 H I R R RWACD 2 1819
18 500-STRING-B00 H I R R RWACD 2 382
19 500-VALUES-B00 H I R R RWACD 3 3940
20 500-VARARGS-B00 H I R R RWACD 2 442

21 files using 281 pages. 610 pages reserved out of 610 pages.

Scanned by Jonny Oddene for Sintran Data © 2012