...Build an AST Program

To build a simple AST program that doesn't use graphics, use:


\begin{terminalv}
cc program.c -L/star/lib -I/star/include \lq ast_link\lq  -o program
\end{terminalv}

To build a program which uses PGPLOT for graphics, use:


\begin{terminalv}
cc program.c -L/star/lib \lq ast_link -pgplot\lq  -o program
\end{terminalv}

For more details about accessing the “ast.h” header file, see §22.1. For more details about linking programs, see §22.2 and the description of the “ast_linkast_link” command in Appendix E.