GNV

GNU's Not VMS!

Links:


Home Page

Getting Started and Installing GNV

Building GNV

GNV Change History

Mailing Lists:

gnv-help for help setting up and using GNV

gnv-develop for developers of GNV

gnv-announce for annoucements of new versions and updates

Building GNV

Want to play with the sources? What to make enhancements or bug fixes? Good, because we need you!

When you install the latest GNV kit (see: Getting Started and Installing GNV), you can optionally install the source kit.  The source kit will be placed in GNU:[SRC].  You can browse the sources here.

If you want to build GNV, or components of it, you should probably copy the entire source tree from GNU:[SRC] to another location on your system.  Do this using BACKUP.

$ BACKUP GNU:[SRC...] dev:[dir...]

Then set your default to the GNV subdirectory under the new directory:

$ SET DEF dev:[dir.GNV]

Copy BUILD.COM from [.BUILD] to the main directory.  In fact, it will do this itself, when invoked as:

@[.BUILD]BUILD.COM ALL

Then you can build the entire GNV kit as:

@BUILD ALL BILL

This will build the entire GNV kit:  all components.  It will also install the executable images into [.BIN].

Its best to start by building the entire package.  Once you've built the entire GNV kit, you can rebuild individual components as follows:

$ @BUILD BASH BUILD
$ @BUILD BASH INSTALL

This builds the BASH component, and installs it into [.BIN] as a separate step.  You can find the other components by inspecting BUILD.

You can build DEBUG versions of many of the components by specifying DEBUG as the third argument to the @BUILD command.  (Not all components support this feature.)

Finally, to run the version of GNV that you've built, rather than the one installed in SYS$COMMON:[GNV] use:

$ DEFINE/JOB/TRANSLATION=(CONCEALED,TERMINAL) GNU dev:[dir.GNV.]

Note that if you're running on an ODS-5 disk, and using case sensitivity, it is critical to specify the translation ("dev:[dir.GNV.]") correctly in terms of case.  This tends to be difficult for an old-time VMS user, who's not used to case sensitivity.

Note the trailing dot in the translation.

Building older GNV kits:

  1. Download the sources from http://gnv.sourceforge.net/downloads/gnvsrc.tar_bz2.
  2. tar -xvf gnvsrc.tar
  3. set def [.gnv]
  4. copy [.build]setup.com []
  5. @setup
  6. @[.build]build "ALL" "BILL"
BILL is short for build and install. The files will be installed in the directory pointed by the rooted logical GNU. The logical GNU will be defined by setup.com to be the same directory that the setup.com file is found. When you are done, you should have something like the following:

$dir gnu:[bin]
Directory GNU:[BIN]

AR.EXE;1            BASENAME.EXE;1      BASH.EXE;1          CAT.EXE;1
CC.EXE;1            CHGRP.EXE;1         CHMOD.EXE;1         CHOWN.EXE;1
CKSUM.EXE;1         CMP.EXE;1           COMM.EXE;1          CP.EXE;1
CSPLIT.EXE;1        CUT.EXE;1           CXX.EXE;1           DATE.EXE;1
DF.EXE;1            DIFF.EXE;1          DIFF3.EXE;1         EGREP.EXE;1
EXPAND.EXE;1        EXPR.EXE;1          FALSE.EXE;1         FGREP.EXE;1
FIND.EXE;1          FMT.EXE;1           FOLD.EXE;1          GCC.EXE;1
GREP.EXE;1          HEAD.EXE;1          HOSTNAME.EXE;1      INSTALL.EXE;1
JOIN.EXE;1          LESS.EXE;1          LN.EXE;1            LS.EXE;1
MAKE.EXE;1          MD5SUM.EXE;1        MKDIR.EXE;1         MV.EXE;1
NL.EXE;1            OD.EXE;1            PASTE.EXE;1         PR.EXE;1
PTX.EXE;1           PWD.EXE;1           RM.EXE;1            RMDIR.EXE;1
SDIFF.EXE;1         SED.EXE;1           SH.EXE;1            SLEEP.EXE;1
SORT.EXE;1          SPLIT.EXE;1         STRIP.EXE;1         SUM.EXE;1
TAC.EXE;1           TAIL.EXE;1          TAR.EXE;1           TEE.EXE;1
TOUCH.EXE;1         TR.EXE;1            TRUE.EXE;1          TSORT.EXE;1
UNAME.EXE;1         UNEXPAND.EXE;1      UNIQ.EXE;1          WC.EXE;1
WHOAMI.EXE;1

Total of 69 files.
$ dir gnu:[lib]

Directory GNU:[LIB]

CRTLSTUBS.OLB;1

Total of 1 files.
$ dir gnu:[include]

Directory GNU:[INCLUDE]

ALLOCA.H;1

Total of 1 file.




 

This project is hosted on .