-
Notifications
You must be signed in to change notification settings - Fork 22
/
INSTALL
88 lines (60 loc) · 2.48 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Building BKUNIX
This file describes how to build BKUNIX from the source package.
1. Install the cross-development system.
Just `cd' to the directory cross-devel/ and type
make
make install
The following utilities will be installed to /usr/local/bin:
pdp11-cc - front end for Ritchie's C compiler
pdp11-pcc - front end for Johnson's portable C compiler
pdp11-asm - AT&T assembler
pdp11-ld - linker
pdp11-ar - archiver
pdp11-disasm - disassembler
pdp11-nm - object name list utility
pdp11-size - object size utility
pdp11-strip - object strip utility
Some files will be installed to /usr/local/lib/pdp11:
c0 - first pass of Ritchie's C compiler
c1 - second pass of Ritchie's C compiler
ccom - Johnson's portable C compiler
cpp - C preprocessor
c2 - optimizer for assembler output of C compilers
asm2 - second pass of AT&T assembler
opcode.tbl - instruction code table for AT&T assembler
libcrt.a - run time library for long and unsigned arithmetic
You want to install to another directory, edit the cross-devel/Makefile
and set DESTDIR to the name of target directory.
2. Build and install the C library for target system.
Enter src/libc/ directory and type
make
make install
The following files will be installed into /usr/local/lib/pdp11:
crt0.o - C runtime startoff routine
libc.a - standard C library
3. Install the filesystem utility. Go to fsutil/ directory and type
make
make install
The "u6-fsutil" binary will be installed to /usr/local/bin.
If you want to install to another directory, edit the fsutil/Makefile
and set DESTDIR to the name of target directory.
4. To build BKUNIX disk images, enter src/ directory and type
make
The kernel and utilities will be compiled and two disk images built:
root.dsk - bootable root filesystem
usr.dsk - empty filesystem to be mounted on /usr
You can explore the contents of disks by typing:
u6-fsutil -v root.bkd
5. To run the system you will need BK emulator installed
somewhere in the path. Enter src/ directory and type:
make run
On "boot:" prompt type "bkunix". You will get root shell prompt "# ".
To exit from the simulator, close the BK window.
You can download the sources of BK emulator from Github
(https://github.com/emestee/bk-emulator).
For more information about BKUNIX project, visit: https://github.com/sergev/bkunix
You are welcome to the world on ancient unix! :-)
___
Best wishes,
BKUNIX project team,
Leonid Broukhis, Serge Vakulenko