home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c160 / 2.ddi / MSC / M4.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-12-05  |  2.5 KB  |  60 lines

  1. ECHO OFF
  2. ECHO :  This File Rebuilds the Microsoft C Library   M4.LIB
  3. ECHO :  During this process files 'M4.LIB' and 'OUT' are erased.
  4. ECHO :
  5. ECHO :  Warning:  Install Code Base 4 before running this batch file.
  6. ECHO :  Press Ctrl C or Break to abort.
  7. ECHO :
  8. ECHO :  If you are using MSC 5.1, use command file 'm4five.bat' instead.
  9. ECHO :
  10. ECHO :  The compile is broken into sections because if everything is
  11. ECHO :  compiled at once, MSC 6.0 returns an 'out of memory' error
  12. ECHO :  half way through.
  13. ECHO :
  14. ECHO :  Note that the library is being built using the '-Gs' and 'Gr'
  15. ECHO :  compile switches.  This is done to make the library smaller
  16. ECHO :  and faster.  Consequently, the compilations of your application
  17. ECHO :  programs need to use these switches too.
  18. ECHO :
  19. ECHO :  This compilation does produce some warning messages under
  20. ECHO :  MSC 6.0.  Some of the warnings refer to unused parameters.
  21. ECHO :  In these cases, the parameters are used in other compile options.
  22. ECHO :  Other warnings refer to completely valid and safe code.  They
  23. ECHO :  can be safely ignored.
  24. ECHO ON
  25. PAUSE
  26. erase  out 
  27. erase  m4.lib
  28. cl -c -Gs -Gr -W3 -Zl -AL -DMSC b4*.C  >>out
  29. cl -c -Gs -Gr -W3 -Zl -AL -DMSC c4*.C  >>out
  30. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4a*.C  >>out
  31. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4b*.C  >>out
  32. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4c*.C  >>out
  33. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4d*.C  >>out
  34. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4e*.C  >>out
  35. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4g*.C  >>out
  36. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4i*.C  >>out
  37. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4l*.C  >>out
  38. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4n*.C  >>out
  39. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4p*.C  >>out
  40. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4r*.C  >>out
  41. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4s*.C  >>out
  42. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4t*.C  >>out
  43. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4u*.C  >>out
  44. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4w*.C  >>out
  45. cl -c -Gs -Gr -W3 -Zl -AL -DMSC d4z*.C  >>out
  46. cl -c -Gs -Gr -W3 -Zl -AL -DMSC e4*.C  >>out
  47. cl -c -Gs -Gr -W3 -Zl -AL -DMSC f4*.C  >>out
  48. cl -c -Gs -Gr -W3 -Zl -AL -DMSC g4*.C  >>out
  49. cl -c -Gs -Gr -W3 -Zl -AL -DMSC h4*.C  >>out
  50. cl -c -Gs -Gr -W3 -Zl -AL -DMSC i4*.C  >>out
  51. cl -c -Gs -Gr -W3 -Zl -AL -DMSC m4*.C  >>out
  52. cl -c -Gs -Gr -W3 -Zl -AL -DMSC n4*.C  >>out
  53. cl -c -Gs -Gr -W3 -Zl -AL -DMSC p4*.C  >>out
  54. cl -c -Gs -Gr -W3 -Zl -AL -DMSC u4*.C  >>out
  55. cl -c -Gs -Gr -W3 -Zl -AL -DMSC w4*.C  >>out
  56. cl -c -Gs -Gr -W3 -Zl -AL -DMSC x4*.C  >>out
  57. lib    @m4
  58. type   out
  59. 
  60.