heirloom-devtools-070527

Introduction to heirloom-devtools

The heirloom-devtools package provides yacc, lex, m4, make, and SCCS. Those tools are portable derivatives of the tools released as a part of OpenSolaris, which were derived from the original UNIX versions.

Package Information

Additional Downloads

heirloom-devtools Dependencies

Required

heirloom-ng-59f7cc and libtirpc

Recommended

Installation of heirloom-devtools

Apply a patch to bring up the source to the last upstream commit:

patch -Np1 -i ../heirloom-devtools-070527-final-updates.patch

Now, apply a patch to fix the compililation of the make utility:

patch -Np1 -i ../heirloom-devtools-070527-fix-make-build.patch

Execute the following command to tell this package to use libtirpc:

sed -i 's=-O=-O -I/usr/include/tirpc=g' mk.config

If you have heirloom-sh installed, execute the following commands to tell heirloom-devtools where to find it:

sed -i 's-/sbin/sh-/usr/5bin/sh-g' mk.config &&
sed -i 's-/bin/sh-/usr/5bin/sh-g' mk.config &&
sed -i 's-/bin/sh-/usr/5bin/sh-g' sccs/src/sccsdiff.sh

Otherwise, execute the following command:

sed -i 's-/sbin/sh-/bin/sh-g' mk.config
[Important]

Important

Ensure you are building this package as the regular user and NOT as the root user, or else the make process will fail as it will be unable to create a temporary file/directory.

Install heirloom-devtools by running the following command:

make

Now, as the root user:

make install

Contents

Installed Programs: admin, cdc (link to rmdel), comb, delta, get, help, lex, m4, make, prs, prt, rmdel, sact (link to unget), sccs, sccsdiff, svr4.make (link to make), unget, val, vc, what, and yacc
Installed Libraries: libl.a, and liby.a
Installed Directories: /usr/ccs/lib/help, /usr/ccs/lib/lex, and /usr/ccs/share/lib/make

Short Descriptions

admin

creates and administers SCCS files

cdc

is a symlink pointing to rmdel

comb

combines SCCS deltas

delta

makes a delta to an SCCS file

get

retrieves a version of an SCCS file

help

retrieves information about error messages and warnings from SCCS commands

lex

is a generator of lexical analysis programs

m4

is the macro processor

make

maintains, updates, and regenerates groups of programs

prs

displays selected portions of an SCCS history

prt

prints parts or all of an SCCS file

rmdel

removes a delta from an SCCS file

sact

is a symlink pointing to unget

sccs

is the human-oriented frontend to the SCCS system

sccsdiff

compares two versions of an SCCS file

svr4.make

is a symlink pointing to make

unget

undos a previous get of an SCCS file

val

validates an SCCS file

vc

reads a line of text and processes it as if it were a version control statement.

what

extracts SCCS version information from a file

yacc

is a yet-another compiler compiler

libl.a

is the supporting library for lex

liby.a

is the supporting library for yacc