Changeset 2437 in Sophya for trunk/SophyaLib/Manual/sophya.tex


Ignore:
Timestamp:
Sep 17, 2003, 2:20:44 PM (22 years ago)
Author:
cmv
Message:

chgt DPC...REP en SOPHYA...REP et EROSCXX en SOPHYACXX cmv 17/09/2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Manual/sophya.tex

    r2304 r2437  
    174174
    175175\subsection{Environment variables}
    176 Two environment variables {\bf DPCBASEREP} and {\bf EROSCXX} are used
     176Two environment variables {\bf SOPHYABASEREP} and {\bf SOPHYACXX} are used
    177177to define the path where the Sophya libraries and executable are installed.
    178 {\bf DPCBASEREP} defines the base directory path and {\bf EROSCXX} the
    179 name of the C++ compiler. The complete path is built using {\bf DPCBASEREP},
     178{\bf SOPHYABASEREP} defines the base directory path and {\bf SOPHYACXX} the
     179name of the C++ compiler. The complete path is built using {\bf SOPHYABASEREP},
    180180the operating system name (as obtained by the {\tt uname} command), and
    181181the compiler name. In the example below, we show the complete path
     
    183183
    184184\begin{itemize}
    185 \item \$DPCBASEREP/Include : Include (.h) files
    186 \item \$DPCBASEREP/Linux-g++/Libs : Path for the archive libraries (.a)
    187 \item \$DPCBASEREP/Linux-g++/ShLibs : Shared library path (.so)
    188 \item \$DPCBASEREP/Linux-g++/Exec : Executable file path
     185\item \$SOPHYABASEREP/Include : Include (.h) files
     186\item \$SOPHYABASEREP/Linux-g++/Libs : Path for the archive libraries (.a)
     187\item \$SOPHYABASEREP/Linux-g++/ShLibs : Shared library path (.so)
     188\item \$SOPHYABASEREP/Linux-g++/Exec : Executable file path
    189189\end{itemize}
    190190
    191191In order to use the shared libraries, the {\bf LD\_LIBRARY\_PATH} variable
    192192should contain the Sophya shared library path
    193 ({\tt \$DPCBASEREP/Linux-g++/ShLibs } when using g++ compiler on Linux)
     193({\tt \$SOPHYABASEREP/Linux-g++/ShLibs } when using g++ compiler on Linux)
    194194
    195195For modules using external libraries, the {\bf EXTLIBDIR}
     
    203203
    204204\subsection{User makefiles}
    205 The file {\tt \$DPCBASEREP/Include/MakefileUser.h} defines the compilation
     205The file {\tt \$SOPHYABASEREP/Include/MakefileUser.h} defines the compilation
    206206flags and the list of Sophya libraries. It should be included in the
    207207user's makefile. The default compilation rules assumes that the object (.o)
    208208and executable files would be put in the following directories: \\
    209 {\tt \$HOME/`uname`-\$EROSCXX/Objs} \\
    210 {\tt \$HOME/`uname`-\$EROSCXX/Exec}.
     209{\tt \$HOME/`uname`-\$SOPHYACXX/Objs} \\
     210{\tt \$HOME/`uname`-\$SOPHYACXX/Exec}.
    211211In the case of a {\tt Linux} system and using {\tt g++} as the C++ compiler,
    212212these two directories would be translated to \\
     
    15171517The build procedure expects to find the include files and the libraries in: \\
    15181518{\tt \$EXTLIBDIR/Include/FitsIO } \\
    1519 {\tt \$EXTLIBDIR/`uname`-\$EROSCXX/Libs} \\
     1519{\tt \$EXTLIBDIR/`uname`-\$SOPHYACXX/Libs} \\
    15201520The complete directory tree content for the various external libraries used
    15211521by this version of SOPHYA is listed below:
     
    15441544grouped in ({\tt libPI.so}).
    15451545
    1546 The environment variables {\bf DPCDEVREP}, {\bf EXTLIBDIR} and {\bf EROSCXX}
     1546The environment variables {\bf SOPHYADEVREP}, {\bf EXTLIBDIR} and {\bf SOPHYACXX}
    15471547must be defined in order to install the Sophya package.
    15481548In the example below, we assume that we want to install Sophya from a
     
    15591559\begin{verbatim}
    15601560# We select our C++ compiler
    1561 csh> setenv EROSCXX g++
     1561csh> setenv SOPHYACXX g++
    15621562# Setup the build directory
    15631563csh> mkdir /usr/local/Sophya/
    1564 csh> setenv DPCDEVREP /usr/local/Sophya/
     1564csh> setenv SOPHYADEVREP /usr/local/Sophya/
    15651565csh> setenv EXTLIBDIR /usr/local/ExtLibs/
    15661566# Use the top level makefile in Mgr/
     
    16201620for the different compilers and systems. (to be included in makefiles)
    16211621\item {\bf crerep\_sophya} c-shell script for creating the directory tree
    1622 under {\tt \$DPCBASEREP} and {\tt \$DPCDEVREP}
     1622under {\tt \$SOPHYABASEREP} and {\tt \$SOPHYADEVREP}
    16231623\item {\bf install\_sophya} c-shell script for installing the Sophya package.
    1624 Usually from {\tt \$DPCDEVREP} to {\tt \$DPCBASEREP}
     1624Usually from {\tt \$SOPHYADEVREP} to {\tt \$SOPHYABASEREP}
    16251625\item {\bf mkmflien} c-shell script for making symbolic links or copying
    1626 include files to {\tt \$DPCDEVREP/Include} or {\tt \$DPCBASEREP/Include}
     1626include files to {\tt \$SOPHYADEVREP/Include} or {\tt \$SOPHYABASEREP/Include}
    16271627\item {\bf mkmf} c-shell script for generating module makefiles and the
    16281628top level makefile (named GNUmakefile)
Note: See TracChangeset for help on using the changeset viewer.