Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/docs/cmdstan-guide/getting-started.tex
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ \subsection{Compiling a Stan Program}
to an executable.)

A Stan program must be in a file with the file extension
\code{.stan}. To create an executable from a Stan program,
\code{make} will be called with the name of the executable as its
argument. For Mac and Linux, it is the name of the Stan program with
the \code{.stan} omitted. For Windows, replace \code{.stan} with
\code{.exe}.
\code{.stan}. To create an executable from a Stan program, \code{make}
will be called with the name of the executable as its argument. For
Mac and Linux, it is the name of the Stan program with the
\code{.stan} omitted. For Windows, replace \code{.stan} with \code{.exe},
and make sure that the path is given with slashes and not backslashes.

To build the Bernoulli example, use the following command for Mac and
Linux:
Expand All @@ -202,7 +202,7 @@ \subsection{Compiling a Stan Program}
\end{quote}
%
For Windows, the command is the same with the addition of \code{.exe}
at the end of the target:
at the end of the target (note: use forward slashes):
\begin{quote}
\begin{Verbatim}[fontshape=sl]
> make examples/bernoulli/bernoulli.exe
Expand Down Expand Up @@ -959,4 +959,3 @@ \subsection{Configuring Command-Line Options}
%% matrices) or may be misformulated. In a future version of Stan, we
%% plan to rank such messages by severity and turn this one off by
%% default so as not to needlessly worry users.