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

  1. rem create Microsoft C 4.0 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 /W2 /Oas /Zl /DMSC4 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 xspwnm4l.lib
  18. lib xspwnm4l.lib +xspawnl+xspawnle+xspawnlp+xspwnlpe+xspawnv+xspawnve+xspawnvp+xspwnvpe+xsystem+xspawn;
  19.