\Header{SHLIB}{Build Shared Library for Dynamic Loading}
\keyword{utilities}{SHLIB}
\begin{Description}\relax
Compile given source files using \code{R CMD COMPILE}, and then link
all specified object files into a shared library which can be loaded
into R using \code{dyn.load} or \code{library.dynam}.
\end{Description}
\begin{Usage}
\begin{verbatim}R CMD SHLIB [options] [-o libname] files\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{files}] a list specifying the object files to be included in the
shared library.  You can also include the name of source files, for
which the object files are automagically made from their sources.
\item[\code{libname}] the full name of the shared library to be built,
including the extension (typically \file{.so} on Unix systems).  If
not given, the name of the library is taken from the first file.
\item[\code{options}] Further options to control the processing, or for
obtaining information about usage and version of the utility.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{COMPILE}}, \code{\Link{dyn.load}}, \code{\Link{library.dynam}}
\end{SeeAlso}

