So far:

About GCC/Distributions.
Due to use of anonymous structures a more recent gcc is needed.
You might need gcc "2.96" from recent RedHat; someone may have had success with
gcc 3.x.
Redhat 7.2 with gcc "2.96" works. There are anonymous structure offset bugs
that has been coded around.
Redhat 8.0 with gcc 3.2 (RedHat patched) works. The anonymous structure offset
bugs present in pure gcc 3.0.1 was gone in pure 3.1.
With recent gcc/Redhat uml gets backtrace problems and is partially broken.
Use gcc 2.96 etc with uml.
Do not use as recent gcc as 3.4.

Linker (experimental):
If you want to know how to make the linker do: cat linker/src/HOW

No longer needed symlinks:
UserMode Linux no longer needs the symlinks from /usr/include/{asm,linux}
to the kernel build place.

NOTE on kernel build:
If complaints about modversion.h, do a make update-modverfile.
Make dep in linux is broken, so you might have to do make bzImage twice.

NOTE on kernel config with VMS options:
There is only one option, CONFIG_VMS (replaces and includes CONFIG_VMS_IO/MM)
Warning: It might be a risky destructive option. FS write may be destructive.
VMS IO works so far only on blockdevices, and the only blockdevices supported
is the uml "harddisk" and on i386 only ide.
Boot with init=/bin/sh or init=/vms\$common/sysexe/dcl

Example build i386:
tar xzf freevms-0_0_51.tgz
cd freevms/linux
./prescript
cd ..
make symlinks
make linux/include/linux/compile.h
maybe do make update-modverfile
make bzImage

Example build um:
tar xzf freevms-0_0_51.tgz
cd freevms/linux
./prescript
cd ..
make symlinks ARCH=um
make linux/include/linux/compile.h ARCH=um
maybe do make update-modverfile ARCH=um
make linux/linux ARCH=um

For VMS I/O and MM:
Add
CONFIG_VMS=y
CONFIG_IO_VMS=y
CONFIG_MM_VMS=y
to a suitable linux/arch/*/config
Edit linux/include/linux/autoconf.h to have CONFIG_VMS defined

Example build of user environment:
cd .. or cd freevms
make vmsall
make vmsinstall
cp -rpv rooti386/. /		(if you are using the same computer)
(The resulting VFS root should have /vms$common)

Running stuff:
	Without CONFIG_VMS:
		Do not expect X to work.
	With CONFIG_VMS:
		Boot with single-user bash or dcl.

Automation:
	Use make image to make a floppy and disk image.
	Set bochs to boot the floppy grub image, and set
	c.img to cyl=4, heads=255, spt=63
	The make image script works on RedHat 9, and may need some
	tailoring other places.
	Use make image-install to install the FreeVMS binaries to be
	found in /vms$common.
	Use make image-kernel-iomm and image-kernel-noiomm to install
	the CONFIG_VMS and non-CONFIG_VMS kernels, respectively.
	Use make environment or ./envscript to set up the build
	environments for 386 and uml for both CONFIG_VMS and without,
	up to the point where you do make bzImage or make linux/linux ARCH=um.