mamprobe ( 1 ) USER COMMANDSmamprobe ( 1 )


NAME

mamprobe - generate MAM cc probe info

SYNOPSIS

mamprobe [ options ] info-file cc-path

DESCRIPTION

mamprobe generates MAM (make abstract machine) cc(1) probe information for use by mamake(1). cc-path is the absolute path of the probed compiler and info-file is where the information is placed. info-file is usually $INSTALLROOT/lib/probe/C/mam/ hash, where hash is a hash of cc-path. Any info-file directories are created if needed. If info-file is - then the probe information is written to the standard output.

mamprobe and mamake are used in the bootstrap phase of package(1) installation before nmake(1) is built. The probed variable names are the nmake(1) names with a mam_ prefix, CC converted to cc, and . converted to _. Additional variables are:
_hosttype_
the package(1) host type
mam_cc_L
-Ldir supported
STDCAT
command to execute for cat(1); prefixed by execrate(1) on .exe challenged systems
STDCHMOD
command to execute for chmod(1); prefixed by execrate(1) on .exe challenged systems
STDCMP
command to execute for cmp(1); prefixed by execrate(1) on .exe challenged systems
STDCP
command to execute for cp(1); prefixed by execrate(1) on .exe challenged systems
STDED
command to execute for ed(1) or ex(1)
STDEDFLAGS
flags for STDED
STDLN
command to execute for ln(1); prefixed by execrate(1) on .exe challenged systems
STDMV
command to execute for mv(1); prefixed by execrate(1) on .exe challenged systems
STDRM
command to execute for rm(1); prefixed by execrate(1) on .exe challenged systems

OPTIONS

-d, --debug
Enable probe script debug trace.

SEE ALSO

execrate(1), package(1), mamake(1), nmake(1), probe(1)

IMPLEMENTATION

version
mamprobe (AT&T Labs Research) 2007-04-11