* cormen book
[mascara-docs.git] / i86 / mtx-16-bit / mtx / samples / BCC / HOWTO
blob2fd262a36947cc60a6842b1c47fc3bc2664ff6d0
1          HOW TO install and use the bcc package
2 ==============================================
3 1. Down the nameTGZ.bin files to Linux. Rename them to
4             name.tgz
5    (Each is a name.tar.gz file). 
6 2. From the / directory, run
7      zcat name.tgz | tar xvf -
8 ===============================================
10 3.  Read man pages of bcc, as86, ld86 for usage
12 4. Assume you have  ts.s and t.c files
14    bcc -c t.c   ==> generates t.o file
15    as86 -o ts.o ts.s ==> generates ts.o file
16    ld86 -d ts.o t.o /usr/lib/bcc/libc.a  ==> generates a.out WITHOUT header
18    ld86    ts.o t.o /usr/lib/bcc/libc.a  ==> generates a.out WITH 32 bytes
19                                              header
20 ============================================================================
21                              
22          HOWTO install and use dosemu
24 1. download the dosemuTGZ.bin, rename it to dosemu.tgz
25 2. from the / directory, run
26         zcat dosemu.tgz | tar xvf -
27 3. cd /dosemu
28    cp xdosemu /bin
30    Under X-windows, run 
31          xdosemu         ===> should boot up freedos
32          xdosemu -A      ===> boot from A: drive 
34