summaryrefslogtreecommitdiff
path: root/utils/mk/README
blob: 092c96a46e101587381a2c7e369426e7f71acd5e (plain)
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
Using the delivered mk to rebuild mk.

You should be able to use the delivered executable of mk to
build a new executable.  This may be of particular interest
on Windows NT/Win95 where the path of the shell program
can be hard-coded by changing the variable named "shell"
near the beginning of source file Nt.c.

Mk uses the regular expression library, so build
the program as follows:

1.  ensure that ../../mkconfig contains the proper system definitions

2.  ensure that the system libraries lib9, libbio, and libregexp have
	been built.  you can do this by hand by changing to ../lib9,
	../libbio, and ../libregexp and doing "mk nuke" and a "mk install"
	in each.

3. in this directory
	mk nuke
	mk install

4. on NT/Win95 the executable must be installed by hand because the current
	executable is locked down while it is executing:

	mv obj.out ../../Nt/386/bin/mk.exe