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

  1. rem create Microsoft C 5.0 and 5.1 libraries
  2.  
  3. rem to assemble xspawn.asm define LCODE and LDATA as shown below
  4. rem small memory model
  5. rem medium memory model   /dLCODE
  6. rem compact memory model           /dLDATA
  7. rem large memory model    /dLCODE  /dLDATA
  8.  
  9. masm xspawn.asm /b63 /w2 /mx /dLCODE /dLDATA;
  10.  
  11. rem change /AL to the appropriate memory model
  12.  
  13. cl /AL /c /W3 /Oals /Zl xspawnl.c xspawnle.c xspawnlp.c xspwnlpe.c xspawnv.c xspawnve.c xspawnvp.c xspwnvpe.c xsystem.c
  14.  
  15. rem change the two occurrences of the library name to reflect the memory model
  16.  
  17. erase xspwnm5l.lib
  18. lib xspwnm5l.lib +xspawnl+xspawnle+xspawnlp+xspwnlpe+xspawnv+xspawnve+xspawnvp+xspwnvpe+xsystem+xspawn;
  19.