[gnu.emacs.bug] Emacs 18.55 on VAX VMS V5.1

ICHIHARA@rik835.riken.go.jp ("Takashi Ichihara ", RIKEN) (10/10/89)

  I have just installed EMACS 18.55 on VAX VMS V5.1-1  (VMS C V3.0) from
the unix distribution (*.tar.Z). It is now working. There was a little (but 
trivial) trouble in the installation.  I wish this report could be helpful 
for the installation to the VMS or in the next release of EMACS.

(1) It is recommended to add "/noopt" option in the [.src]CCOM.COM  Because 
the temacs.exe compiled without "/noopt" option did not work properly.

  File [.src]ccom.com  (current release of 18.55)
      $ ! VMS command file used by the `ccom' command.
      $ cc /debug /nolist /define="emacs" 'p1'

  might be better to be replaced by
      $ ! VMS command file used by the `ccom' command.
      $ cc /debug /nolist/noopt /define="emacs" 'p1'

(2) It is recommended to add some comments to install emacs to VMS higher
than the VMS V4.4. I had some confusion; which to use, s-vms.h or s-vms4-4.h.
s-vms4-4.h should be used (should be defiled in config.h) if the version of
the VMS is later than V4.3. Recently most of VAX VMS are using later than V4.6.
There were Fatal compilation errors when we used s-vms.h on VMS V5.1.

  In the file [.src]VMSBUILD., the record

         >and make sure it is set up for VMS (using files 
         > `m-vax.h' and `s-vms.h'.

  might be better to be replaced by

         >and make sure it is set up for VMS (using files 
         > `m-vax.h' and `s-vms4-4.h'.


-----------------

		Takashi Ichihara
		RIKEN Accelarator Facility 
		RIKEN (The Institute of Physical and Chemical Research)
		2-1 Hirosawa, Wako, Saitama, 351-01, Japan
		
		(Internet)     Ichihara@rik835.riken.go.jp  (IP 134.160.9.1)
		(HEPNET/SPAN)  rik835::ichihara  (41911::ichihara)

dg3s+@andrew.cmu.edu (David Gentzel) (10/11/89)

The problem with the optimizer was posted here by me some time ago.  You
don't really need to use "/NOOPT", "/OPT=NOINLINE" is sufficient.  Basically
DEC added inlining to the compiler and made it the default, but didn't bother
to make it work first...

						Dave