home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / FS191 / XSPAWN33 / XTCPP.BAT < prev   
DOS Batch File  |  1991-05-04  |  797b  |  22 lines

  1. rem create Turbo C++ libraries
  2.  
  3. rem to assemble xspawn.asm define LCODE and LDATA as shown below
  4. rem tiny memory model
  5. rem small memory model
  6. rem medium memory model   /dLCODE
  7. rem compact memory model           /dLDATA
  8. rem large memory model    /dLCODE  /dLDATA
  9. rem huge memory model     /dLCODE  /dLDATA
  10.  
  11. tasm xspawn.asm /mx /dLCODE /dLDATA
  12.  
  13. rem change -ml to the appropriate memory model
  14. rem if you are using overlays, use the -Y compiler option
  15.  
  16. 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
  17.  
  18. rem change the two occurrences of the library name to reflect the memory model
  19.  
  20. erase xspntppl.lib
  21. tlib xspntppl.lib +xspawnl+xspawnle+xspawnlp+xspwnlpe+xspawnv+xspawnve+xspawnvp+xspwnvpe+xsystem+xspawn
  22.