home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / FS191 / XSPAWN33 / XTC.BAT < prev    next >
DOS Batch File  |  1991-05-04  |  733b  |  21 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.  
  15. tcc -ml -O -Z -N -w -c xspawnl.c xspawnle.c xspawnlp.c xspwnlpe.c xspawnv.c xspawnve.c xspawnvp.c xspwnvpe.c xsystem.c
  16.  
  17. rem change the two occurrences of the library name to reflect the memory model
  18.  
  19. erase xspawntl.lib
  20. tlib xspawntl.lib +xspawnl+xspawnle+xspawnlp+xspwnlpe+xspawnv+xspawnve+xspawnvp+xspwnvpe+xsystem+xspawn
  21.