make-cc1.com 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. $!
  2. $! Build the GNU "C" compiler on VMS
  3. $!
  4. $ if "''p1'" .eqs. "LINK" then goto Link
  5. $ gcc/debug/cc1_options="-mpcc-alignment" rtl.c
  6. $ gcc/debug/cc1_options="-mpcc-alignment" obstack.c
  7. $! Generate insn-flags.h
  8. $ gcc/debug/cc1_options="-mpcc-alignment" genflags.c
  9. $ link/nomap genflags,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  10. $ genflags:=$sys$disk:[]genflags
  11. $ assign/user insn-flags.h sys$output:
  12. $ genflags md
  13. $! Generate insn-codes.h
  14. $ gcc/debug/cc1_options="-mpcc-alignment" gencodes.c
  15. $ link/nomap gencodes,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  16. $ gencodes:=$sys$disk:[]gencodes
  17. $ assign/user insn-codes.h sys$output:
  18. $ gencodes md
  19. $! Generate insn-config.h
  20. $ gcc/debug/cc1_options="-mpcc-alignment" genconfig.c
  21. $ link/nomap genconfig,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  22. $ genconfig:=$sys$disk:[]genconfig
  23. $ assign/user insn-config.h sys$output:
  24. $ genconfig md
  25. $!
  26. $ gcc/debug/cc1_options="-mpcc-alignment" toplev.c
  27. $ bison /verbose parse.y
  28. $ gcc/debug/cc1_options="-mpcc-alignment" parse_tab.c
  29. $ gcc/debug/cc1_options="-mpcc-alignment" tree.c
  30. $ gcc/debug/cc1_options="-mpcc-alignment" print-tree.c
  31. $ gcc/debug/cc1_options="-mpcc-alignment" decl.c
  32. $ gcc/debug/cc1_options="-mpcc-alignment" typecheck.c
  33. $ gcc/debug/cc1_options="-mpcc-alignment" stor-layout.c
  34. $ gcc/debug/cc1_options="-mpcc-alignment" fold-const.c
  35. $ gcc/debug/cc1_options="-mpcc-alignment" varasm.c
  36. $ gcc/debug/cc1_options="-mpcc-alignment" expr.c
  37. $ gcc/debug/cc1_options="-mpcc-alignment" stmt.c
  38. $ gcc/debug/cc1_options="-mpcc-alignment" expmed.c
  39. $ gcc/debug/cc1_options="-mpcc-alignment" explow.c
  40. $ gcc/debug/cc1_options="-mpcc-alignment" optabs.c
  41. $ gcc/debug/cc1_options="-mpcc-alignment" symout.c
  42. $ gcc/debug/cc1_options="-mpcc-alignment" dbxout.c
  43. $ gcc/debug/cc1_options="-mpcc-alignment" emit-rtl.c
  44. $! Generate insn-emit.c
  45. $ gcc/debug/cc1_options="-mpcc-alignment" genemit.c
  46. $ link/nomap genemit,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  47. $ genemit:=$sys$disk:[]genemit
  48. $ assign/user insn-emit.c sys$output:
  49. $ genemit md
  50. $!
  51. $ gcc/debug/cc1_options="-mpcc-alignment" insn-emit.c
  52. $ gcc/debug/cc1_options="-mpcc-alignment" jump.c
  53. $ gcc/debug/cc1_options="-mpcc-alignment" cse.c
  54. $ gcc/debug/cc1_options="-mpcc-alignment" loop.c
  55. $ gcc/debug/cc1_options="-mpcc-alignment" flow.c
  56. $ gcc/debug/cc1_options="-mpcc-alignment" stupid.c
  57. $ gcc/debug/cc1_options="-mpcc-alignment" combine.c
  58. $ gcc/debug/cc1_options="-mpcc-alignment" regclass.c
  59. $ gcc/debug/cc1_options="-mpcc-alignment" local-alloc.c
  60. $ gcc/debug/cc1_options="-mpcc-alignment" global-alloc.c
  61. $ gcc/debug/cc1_options="-mpcc-alignment" reload.c
  62. $ gcc/debug/cc1_options="-mpcc-alignment" reload1.c
  63. $! Generate insn-peep.c
  64. $ gcc/debug/cc1_options="-mpcc-alignment" genpeep.c
  65. $ link/nomap genpeep,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  66. $ genpeep:=$sys$disk:[]genpeep
  67. $ assign/user insn-peep.c sys$output:
  68. $ genpeep md
  69. $!
  70. $ gcc/debug/cc1_options="-mpcc-alignment" insn-peep.c
  71. $ gcc/debug/cc1_options="-mpcc-alignment" final.c
  72. $ gcc/debug/cc1_options="-mpcc-alignment" recog.c
  73. $! Generate insn-recog.c
  74. $ gcc/debug/cc1_options="-mpcc-alignment" genrecog.c
  75. $ link/nomap genrecog,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  76. $ genrecog:=$sys$disk:[]genrecog
  77. $ assign/user insn-recog.c sys$output:
  78. $ genrecog md
  79. $!
  80. $ gcc/debug/cc1_options="-mpcc-alignment" insn-recog.c
  81. $! Generate insn-extract.c
  82. $ gcc/debug/cc1_options="-mpcc-alignment" genextract.c
  83. $ link/nomap genextract,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  84. $ genextract:=$sys$disk:[]genextract
  85. $ assign/user insn-extract.c sys$output:
  86. $ genextract md
  87. $!
  88. $ gcc/debug/cc1_options="-mpcc-alignment" insn-extract.c
  89. $! Generate insn-output.c
  90. $ gcc/debug/cc1_options="-mpcc-alignment" genoutput.c
  91. $ link/nomap genoutput,rtl,obstack,gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  92. $ genoutput:=$sys$disk:[]genoutput
  93. $ assign/user insn-output.c sys$output:
  94. $ genoutput md
  95. $!
  96. $ gcc/debug/cc1_options="-mpcc-alignment" insn-output.c
  97. $ gcc/debug/cc1_options="-mpcc-alignment" integrate.c
  98. $!
  99. $! Link it
  100. $!
  101. $ Link:
  102. $ link/nomap/exe=gcc-cc1 sys$input:/opt
  103. !
  104. ! "CC1" Linker options file
  105. !
  106. toplev,parse_tab,tree,print-tree,decl,typecheck,stor-layout,fold-const,-
  107. varasm,rtl,expr,stmt,expmed,explow,optabs,symout,dbxout,emit-rtl,insn-emit,-
  108. jump,cse,loop,flow,stupid,combine,regclass,local-alloc,global-alloc,reload,-
  109. reload1,insn-peep,final,recog,insn-recog,insn-extract,insn-output,obstack,-
  110. integrate,-
  111. gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  112. $!
  113. $! Done
  114. $!