\Header{SHLIB}{Build Shared Library for Dynamic Loading}
\keyword{utilities}{SHLIB}
\begin{Description}\relax
The given source files are first compiled using \code{R COMPILE}.  All
specified object files are then linked into a shared library which can
be loaded into R using \code{dyn.load()}.\end{Description}
\begin{Usage}
\begin{verbatim}R SHLIB [-o libname] files\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{files}] a list of names of (typically) source files to be
compiled and included in the library.  You can also include the name
of object files which 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 source
file.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{COMPILE}}, \code{\Link{dyn.load}}\end{SeeAlso}

