# Diff of /trunk/doc/install/srcommon.tex

revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC revision 2568 by jfenwick, Fri Jul 31 05:37:41 2009 UTC
# Line 99  Throughout this section we will assume t Line 99  Throughout this section we will assume t
99  You can call the directory anything you like, provided that you make the change before you compile.  You can call the directory anything you like, provided that you make the change before you compile.
100
101  You need to indicate where to find the external dependencies.  You need to indicate where to find the external dependencies.
102  Unless specified otherwise, all paths will be relative to the top level of the source.  To do this, create a file in the \filename{escript.d/scons} directory called \filename{x_options.py} where x'' is the name of your computer (output of the \texttt{hostname} command).
103  To do this, create a file in the \filename{scons} directory called \filename{x_options.py} where x'' is the name of your computer (output of the \texttt{hostname} command).  From now on all paths will be relative to the top level of the source.
104  As a starting point use one of the following:  As a starting point copy the contents one of the following files :
105  \begin{itemize}  \begin{itemize}
106   \item \filename{scons/linux_options_example.py} (\linux desktop)   \item \filename{scons/linux_options_example.py} (\linux desktop)
107  \item \filename{scons/mac_options_example.py} (\macosx desktop)  \item \filename{scons/mac_options_example.py} (\macosx desktop)
108  \item \filename{ice_options_example.py} (SGI ICE 8200)  \item \filename{scons/ice_options_example.py} (SGI ICE 8200)
109  \item \filename{winxp_options_example.py} (\winxp)  \item \filename{scons/winxp_options_example.py} (\winxp)
110  \end{itemize}  \end{itemize}
111
112  To actually compile (if you have $n$ processors, then you can use \texttt{scons -j$n$} instead):  To actually compile (if you have $n$ processors, then you can use \texttt{scons -j$n$} instead):

Legend:
 Removed from v.2548 changed lines Added in v.2568