home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / FREEMEM.ZIP / FREEMEM.CMD < prev    next >
OS/2 REXX Batch file  |  1989-06-07  |  1KB  |  31 lines

  1. echo off
  2. cls
  3. echo modified for clprlate.cmd : m forman 5/30/89
  4. echo  
  5. echo ************ Template C Sample Program Command File (.CMD) ****************
  6. echo  
  7. echo  This is the .CMD file containing the commands to compile, link, and run
  8. echo  the Template Sample Program.  ** Note:  A call is made to the command
  9. echo  file PMPATH.CMD which sets the environment for this process.
  10. echo  
  11. echo  Compiler Switches:
  12. echo  
  13. echo  /c    - Supresses Linking
  14. echo  /Alfu - Customised large memory model
  15. echo          (l) far pointers for code
  16. echo          (f) far pointers for data
  17. echo          (u) different segments for stack and data
  18. echo  /W2   - Sets warning message level
  19. echo  /Gs   - Removes stack probes
  20. echo  /Gc   - Controls function calling sequences
  21. echo  
  22. echo ***************************************************************************
  23. echo on
  24. call %1\toolkt11\c\samples\pm\pmpath.cmd
  25. cd freemem
  26. cl /c /G2sw /W3 freemem.c
  27. rem
  28. rem cc /Alfu /W2 /Gs /Gc freemem.c
  29. rem
  30. link @freemem.l
  31.