home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fchek284.zip / build-alpha.com < prev    next >
Text File  |  1995-01-20  |  3KB  |  69 lines

  1. $! BUILD-ALPHA.COM
  2. $!    Creates Ftnchek from source code for Alpha VMS systems
  3. $!
  4. $ On Control_Y Then GoTo The_Exit
  5. $ On Warning Then GoTo The_Exit
  6. $!
  7. $!
  8. $!   Now compile everything and link it all.  The /DEFINE is not actually
  9. $!   needed since VMS is a predefined symbol in VAX C.
  10. $!   If you have xmalloc/xrealloc, remove the /DEFINE from shell_mung
  11. $!   line and add them to the list of objs to link.
  12. $!   The CC.COM script is used in place of CC command so that if something
  13. $!   is changed, BUILD-ALPHA can be re-run and only re-compiles what changed.
  14. $!   Invocation: @CC PROG DEPENDENCIES [/CFLAGS...]
  15. $ @CC ftnchek ftnchek.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  16. $ @CC exprtype ftnchek.h,keywords.h,symtab.h,tokdefs.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  17. $ @CC forlex ftnchek.h,symtab.h,tokdefs.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  18. $ @CC fortran ftnchek.h,symtab.h,tokdefs.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  19. $ @CC pgsymtab ftnchek.h,symtab.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  20. $ @CC plsymtab ftnchek.h,symtab.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  21. $ @CC project ftnchek.h,symtab.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  22. $ @CC symtab ftnchek.h,iokeywds.h,intrins.h,symtab.h,tokdefs.h /STANDARD=VAXC/DEFINE=(VMS,LARGE_MACHINE)
  23. $ @CC shell_mung "" /STANDARD=VAXC/DEFINE=("xmalloc=malloc","xrealloc=realloc")
  24. $ @LINK-ALPHA ftnchek,forlex,fortran,pgsymtab,plsymtab,symtab,exprtype,project,shell_mung
  25. $ Set NoVerify
  26. $ WRITE SYS$OUTPUT "Ftnchek created"
  27. $ WRITE SYS$OUTPUT "To make it runnable as a command"
  28. $ WRITE SYS$OUTPUT "say   $ FTNCHEK :== $diskname:[pathname]FTNCHEK"
  29. $ On Control_Y Then GoTo Help_Exit
  30. $ On Warning Then GoTo Help_Exit
  31. $! Create the help library.
  32. $ LIBR/CREATE/HELP FTNCHEK.HLB FTNCHEK.HLP
  33. $ WRITE SYS$OUTPUT "Help library created -- to access it via HELP"
  34. $ WRITE SYS$OUTPUT "say   $ DEFINE HLP$LIBRARY diskname:[pathname]FTNCHEK.HLB"
  35. $ EXIT
  36. $ Help_Exit:
  37. $ Set NoVerify
  38. $ WRITE SYS$OUTPUT "Error- help library not created"
  39. $ EXIT
  40. $ The_Exit:
  41. $ Set NoVerify
  42. $ WRITE SYS$OUTPUT "Error- BUILD failed."
  43. $ EXIT
  44. $!From:    SMTP%"oppe@vs5.scri.fsu.edu" 17-SEP-1993 15:41:40.12
  45. $!To:    MONIOT
  46. $!CC:
  47. $!Subj:    FTNCHEK 2.7 on DEC Alpha AXP running OpenVMS
  48. $!
  49. $!Date: Sun, 9 May 93 13:06:23 -0400
  50. $!From: oppe@vs5.scri.fsu.edu (Thomas Oppe)
  51. $!Message-Id: <9305091706.AA24710@vs5.scri.fsu.edu>
  52. $!To: moniot@mary.fordham.edu
  53. $!Subject: FTNCHEK 2.7 on DEC Alpha AXP running OpenVMS
  54. $!
  55. $!Dear Dr. Moniot,
  56. $!
  57. $!   FTNCHEK 2.7 now installs on a DEC Alpha AXP running OpenVMS with a
  58. $!few changes to the BUILD.COM file.  Basically, I added
  59. $!
  60. $!    /STANDARD=VAXC/
  61. $!
  62. $!to the CC line and stripped out the VAXC.OPT and sharable library
  63. $!commands.  Apparently, our Alphas did not have a VAXCRTL file.
  64. $!Below is the revised BUILD.COM file and the output log from
  65. $!running it.
  66. $!
  67. $!Tom Oppe
  68. $!
  69.