home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo modified for clprlate.cmd : m forman 5/30/89
- echo
- echo ************ Template C Sample Program Command File (.CMD) ****************
- echo
- echo This is the .CMD file containing the commands to compile, link, and run
- echo the Template Sample Program. ** Note: A call is made to the command
- echo file PMPATH.CMD which sets the environment for this process.
- echo
- echo Compiler Switches:
- echo
- echo /c - Supresses Linking
- echo /Alfu - Customised large memory model
- echo (l) far pointers for code
- echo (f) far pointers for data
- echo (u) different segments for stack and data
- echo /W2 - Sets warning message level
- echo /Gs - Removes stack probes
- echo /Gc - Controls function calling sequences
- echo
- echo ***************************************************************************
- echo on
- call %1\toolkt11\c\samples\pm\pmpath.cmd
- cd freemem
- cl /c /G2sw /W3 freemem.c
- rem
- rem cc /Alfu /W2 /Gs /Gc freemem.c
- rem
- link @freemem.l