Changeset 2437 in Sophya for trunk/SophyaLib/Mgr/README
- Timestamp:
- Sep 17, 2003, 2:20:44 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/SophyaLib/Mgr/README (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Mgr/README
r2284 r2437 58 58 MacOSX/Darwin 10.1 c++/gcc 2.95 (shared-library only) 59 59 60 The environment variables DPCDEVREP EXTLIBDIR EROSCXX must be defined60 The environment variables SOPHYADEVREP EXTLIBDIR SOPHYACXX must be defined 61 61 for building and installing the libraries. 62 62 63 $ EROSCXX is the name of C++ compiler being used.64 $ DPCDEVREP is the path to where the libraries and executables will be put.65 $ DPCDEVREP/Include : header files63 $SOPHYACXX is the name of C++ compiler being used. 64 $SOPHYADEVREP is the path to where the libraries and executables will be put. 65 $SOPHYADEVREP/Include : header files 66 66 The libraries and binaries will be put in subdirectories containing 67 the operating system name and the compiler name: `uname`-$ EROSCXX67 the operating system name and the compiler name: `uname`-$SOPHYACXX 68 68 For example, on a Linux system, using the GNU compiler: 69 69 70 $ DPCDEVREP/Linux-g++/Libs archive librarires71 $ DPCDEVREP/Linux-g++/ShLibs shared libraries72 $ DPCDEVREP/Linux-g++/Exec binaries70 $SOPHYADEVREP/Linux-g++/Libs archive librarires 71 $SOPHYADEVREP/Linux-g++/ShLibs shared libraries 72 $SOPHYADEVREP/Linux-g++/Exec binaries 73 73 74 74 The build procedure expects to find the include files and the libraries 75 75 for cfitsio in : 76 76 $EXTLIBDIR/Include/FitsIO 77 $EXTLIBDIR/`uname`-$ EROSCXX/Libs77 $EXTLIBDIR/`uname`-$SOPHYACXX/Libs 78 78 This would translate to Linux-g++ on a Linux system, using g++. 79 79 $EXTLIBDIR/Linux-g++/Libs … … 83 83 84 84 # We select our C++ compiler 85 csh> setenv EROSCXX g++85 csh> setenv SOPHYACXX g++ 86 86 # Setup the build directory 87 87 csh> mkdir /usr/local/Sophya/ 88 csh> setenv DPCDEVREP /usr/local/Sophya/89 csh> setenv DPCBASEREP /usr/local/Sophya/88 csh> setenv SOPHYADEVREP /usr/local/Sophya/ 89 csh> setenv SOPHYABASEREP /usr/local/Sophya/ 90 90 csh> setenv EXTLIBDIR /usr/local/ExtLibs/ 91 91 … … 174 174 Usage: crerep_sophya <nom des repertoires> [nom_machine-compilateur] 175 175 Example : 176 Cmd> crerep_sophya $ DPCDEVREP OSF1-cxx176 Cmd> crerep_sophya $SOPHYADEVREP OSF1-cxx 177 177 Cmd> crerep_sophya ~/Work/ Linux-g++ 178 178 179 179 * install_sophya 180 Install SOPHYA libraries/include files from dev directory ($ DPCDEVREP)181 to the install ($ DPCBASEREP) directory180 Install SOPHYA libraries/include files from dev directory ($SOPHYADEVREP) 181 to the install ($SOPHYABASEREP) directory 182 182 Copy files Include/*.h Libs/*.a ShLibs/*.so Exec/* 183 183 … … 192 192 193 193 Steps : 194 - mkmflien : Creates symbolic links for all header files in $ DPCDEVREP/Include194 - mkmflien : Creates symbolic links for all header files in $SOPHYADEVREP/Include 195 195 196 196 - mkmflib : Creation of a GNUmakefile in each library module
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)