* added compilers lcc and bcc (linux86)
[mascara-docs.git] / i86 / mtx / mtx / samples / LAB2 / mk
blobecba3a9165d6cbc07c9c45ca4118bdaee6746c5e
1 echo compiling
2    as86 -o s.o s.s
3    bcc  -c t.c
4 echo linking
5    ld86 -d s.o t.o /usr/lib/bcc/libc.a
7 #   mount /dev/fd0 /fd0
8 #   cp a.out /fd0/boot/mtx
9 #   umount /fd0
11 echo cp a.out to mtximage/boot/mtx
12    mount -o loop /root/dosemu/mtximage /fd0
13    cp a.out /fd0/boot/mtx
14    umount /fd0
15 echo done
17 #  Use YOUR MTX booter of LAB#1 to boot up MTX