Hello again,
Yes, this time I am trying to figure out what I'm doing wrong while
creating a C program.
It is still in RSX11M+ on my 11/23+ and PDP-11 C 1.1.

I have a really simple test program like this:

+>type test.c
#include <stdio.h>

main() {
  puts("Hello, world!");
}

The following is what I do to compile and task build:

+>type tstbld.cmd
.IFNINS MAC INS $MAC
.IFNINS TKB INS $TKB

PIP TEST.C/PU,TSTBLD.CMD/PU,TSTTKB.CMD/PU
CCC TEST.C
TKB @TSTTKB.CMD
PIP TEST.OBJ;*/DE
PIP TEST.TSK/PU

+>type tsttkb.cmd
TEST/-FP=TEST,LB:[1,1]CFPURSX.OLB/LB
/
UNITS=1
ASG=TI:1
TASK=...TST
LIBR=FCSFSL:RO
/

The code compiles fine and TKB has no issues. I get my test.tsk:

+>dir test.tsk

Directory DU0:[200,2]
2-SEP-2026 21:36

TEST.TSK;2          22.     C  02-SEP-2026 21:30

Total of 22./22. blocks in 1. file

I run it as '+>run test' and I just get the prompt back. I expect it to
print to the terminal.
What am I missing? Nothing stands out to me in the manual. I'm sure it's
something stupid.

Any pointers would be greatly appreciated.

- Peter

Reply via email to