xref: /inferno-os/utils/mk/README (revision 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a)
1Using the delivered mk to rebuild mk.
2
3You should be able to use the delivered executable of mk to
4build a new executable.  This may be of particular interest
5on Windows NT/Win95 where the path of the shell program
6can be hard-coded by changing the variable named "shell"
7near the beginning of source file Nt.c.
8
9Mk uses the regular expression library, so build
10the program as follows:
11
121.  ensure that ../../mkconfig contains the proper system definitions
13
142.  ensure that the system libraries lib9, libbio, and libregexp have
15	been built.  you can do this by hand by changing to ../lib9,
16	../libbio, and ../libregexp and doing "mk nuke" and a "mk install"
17	in each.
18
193. in this directory
20	mk nuke
21	mk install
22
234. on NT/Win95 the executable must be installed by hand because the current
24	executable is locked down while it is executing:
25
26	mv obj.out ../../Nt/386/bin/mk.exe
27