sde-chooser(1) DG/UX 5.4R3.00 sde-chooser(1)
NAME
sde-chooser - execute environment-sensitive tool
SYNOPSIS
sde-chooser [-e sde-target] path [tool-args]
DESCRIPTION
The action of a number of software development tools depends on the
current software development environment [see sde(5)]. Such tools
have different versions in each environment. Sde-chooser finds and
executes the correct version of such a tool.
For example, when a command line such as ``as foo.s'' is executed, a
small program named as in /usr/bin executes sde-chooser with the
appropriate arguments. Sde-chooser in turn executes the correct
version of as.
Sde-chooser is not normally invoked from a shell command line, but it
can be with the following arguments:
-e sde-target Specifies a software development environment
explicitly. If this option is not given, sde-chooser
uses the current software development environment [see
sde-target(1)].
path The path to the desired tool within an environment.
Path is given as an absolute path but it is
interpreted as being relative to
/usr/sde/<sde-target>. For example, /usr/bin/as
invokes /usr/sde/<sde-target>/usr/bin/as, where
<sde-target> is a software development environment.
tool-args All remaining arguments to sde-chooser are passed to
the selected tool as the argv array. The first of
these arguments, argv[0], should be the command name.
For example, the command line
sde-chooser -e m88kdguxcoff /usr/bin/cc cc -V
will invoke the COFF version of cc with the -V option. The effect,
in this example, is the same as issuing the command cc -V in the
m88kdguxcoff software development environment.
SEE ALSO
sde-target(1), sde(5), elink(5).
Licensed material--property of copyright holder(s) 1