\HeaderA{LINK}{Create Executable Programs}{LINK}
\keyword{utilities}{LINK}
\begin{Description}\relax
Front-end for creating executable programs.
\end{Description}
\begin{Usage}
\begin{verbatim}
R CMD LINK [options] linkcmd
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{linkcmd}] a list of commands to link together suitable object
files (include library objects) to create the executable program.
\item[\code{options}] further options to control the linking, or for
obtaining information about usage and version.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The linker front-end is useful in particular when linking against the
R shared library, in which case \code{linkcmd} must contain \code{-lR}
but need not specify its library path.

Currently only works if the C compiler is used for linking, and no C++
code is used.

Use \code{R CMD LINK --help} for more usage information.
\end{Details}
\begin{Note}\relax
Some binary distributions of \R{} have \code{LINK} in a separate
bundle, e.g. an \code{R-devel} RPM.
\end{Note}

