Building GNV

Want to play with the sources? Currently, only sources for bash and make are provided. Work is being done to make autoconf configuration work, so that the standard distributions can be used. Sources are available as tar files, but the CVS repository holds the latest version of the source.

For best success, build sources under the /gnu hierarchy. Directory specs with dollar signs in them currently reek havoc.

    bash$ mkdir /gnu/src

    bash$ cd /gnu/src

BASH is currently the only tool that is cleanly packaged so that it can build with a UNIX style makefiles. You can get the sources at http://gnv.sourceforge.net/downloads/bash.tar-bz2.

    bash$ bzip2 -d bash.tar-bz2

    bash$ tar -xvf bash.tar

    bash$ cd bash

Touch "parser-built" to prevent the makefiles from trying to rebuild the parser, since it does not really need to and we do not have bison and flex.

    bash$ touch parser-built.

    bash$ make CPP="CC -E" AR="ar"

You can also build make, but it uses a special makefile written for VMS. You can get the sources at http://gnv.sourceforge.net/downloads/make.tar-bz2. One thing to be aware of is that when make invokes a command, it needs to know if it should use BASH or DCL to execute that command. If UNIX_MODE=1 or SHELL is defined as BASH, MAKE will use BASH, otherwise it will use DCL.

    bash$ bzip2 -d make.tar-bz2

    bash$ tar -xvf make.tar

    bash$ cd make

    bash$ make -f makefile.vms "UNIX_MODE=0"

Sources for the cc and ar wrappers are the wrappers directory of the CVS repository.