home *** CD-ROM | disk | FTP | other *** search
- rem create Turbo C++ libraries
-
- rem to assemble xspawn.asm define LCODE and LDATA as shown below
- rem tiny memory model
- rem small memory model
- rem medium memory model /dLCODE
- rem compact memory model /dLDATA
- rem large memory model /dLCODE /dLDATA
- rem huge memory model /dLCODE /dLDATA
-
- tasm xspawn.asm /mx /dLCODE /dLDATA
-
- rem change -ml to the appropriate memory model
- rem if you are using overlays, use the -Y compiler option
-
- tcc -ml -O -Z -N -Y -w -c xspawnl.c xspawnle.c xspawnlp.c xspwnlpe.c xspawnv.c xspawnve.c xspawnvp.c xspwnvpe.c xsystem.c
-
- rem change the two occurrences of the library name to reflect the memory model
-
- erase xspntppl.lib
- tlib xspntppl.lib +xspawnl+xspawnle+xspawnlp+xspwnlpe+xspawnv+xspawnve+xspawnvp+xspwnvpe+xsystem+xspawn