repo.or.cz
/
mascara-docs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* added compilers lcc and bcc (linux86)
[mascara-docs.git]
/
i86
/
mtx
/
mtx
/
samples
/
LAB5_FS
/
USER
/
mku
blob
27bce3bae0160af90044bf3215c69af015cd6cbf
1
#Usage : mku filename
2
3
A=/root/dosemu/a
4
5
bcc -c -ansi $1.c
6
bcc -c crt0.c
7
as86 -o u.o u.s
8
ld86 u.o crt0.o $1.o /usr/lib/bcc/libc.a
9
10
#mount /dev/fd0 /fd0
11
#cp a.out /fd0/$1
12
#cp a.out /fd0/bin/$1
13
#umount /dev/fd0
14
15
mount -o loop /root/dosemu/mtximage $A
16
cp a.out $A/bin/$1
17
umount $A
18
19
rm *.o a.out
20
21
echo done u1