Previous: Building with Separate Build Directories, Up: Doing the Build


3.4.3 Building Using `lndir'

If you wish to keep separate build directories for each platform, and you do not have access to a `make' program which supports `VPATH', all is not lost. You can use the `lndir' program to create symbolic link trees in your build directory.

For example, if you wish to create a build directory for solaris binaries you might use the following procedure:

  1. mkdir /u1/krb5-1.3/solaris
  2. cd /u1/krb5-1.3/solaris
  3. /u1/krb5-1.3/src/util/lndir `pwd`/../src
  4. ./configure
  5. make

You must give an absolute pathname to `lndir' because it has a bug that makes it fail for relative pathnames. Note that this version differs from the latest version as distributed and installed by the XConsortium with X11R6. Either version should be acceptable.