Changeset 3084 in Sophya for trunk/SophyaLib/BuildMgr
- Timestamp:
- Sep 21, 2006, 12:35:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BuildMgr/README
r3036 r3084 10 10 11 11 12 ==================================== 12 13 A/ Software build and installation : 13 14 ==================================== … … 60 61 ------------------------------------------------------------------------- 61 62 62 B/ Code management scripts 63 =========================== 63 ============================ 64 B/ Code management scripts : 65 ============================ 64 66 65 67 1/ configure : c-shell script configuration 66 ./configure -sbase /tmp/sbase/ -scxx cxx -extp /usr/local/extlibs \68 ./configure -sbase /tmp/sbase/ -scxx cxx -extp /usr/local/extlibs 67 69 68 70 2/ mkmflib : c-shell script for creation of library module Makefile / smakefile … … 90 92 91 93 92 C/ List of modules SOPHYA and PI modules 93 ======================================== 94 ========================================== 95 C/ List of modules SOPHYA and PI modules : 96 ========================================== 94 97 95 98 * BuildMgr/ Scripts for code management and makefiles … … 130 133 * ProgPI/ interactive analysis tool using SOPHYA, PI PIGCont and PIext 131 134 135 136 ================================================ 137 D/ How to use Sophya libraries and/or programs : 138 ================================================ 139 140 1./ Set the Sophya environment variable : 141 that is the repository where the libraries and the programs stand, 142 for example: 143 > setenv SOPHYABASE /home/.../SophyaWork 144 145 ..Remark: 146 The choice of the name is up to you, but if you want 147 to use versions on different operating systems (or compilators) 148 the "SOPHYABASE" repository must be different, for example: 149 > setenv SOPHYABASE /home/.../SophyaWork_Linux_gcc2.95 150 > setenv SOPHYABASE /home/.../SophyaWork_Linux_gcc4 151 > setenv SOPHYABASE /home/.../SophyaWork_OSF1_cxx 152 > setenv SOPHYABASE /home/.../SophyaWork_OSF1_gcc 153 > ... 154 155 So you will find: 156 ..shared libraries in: $SOPHYABASE/slb 157 ..archived libraries in: $SOPHYABASE/lib 158 (you will probably prefer to use the shared versions of the libraries) 159 ..programs in: $SOPHYABASE/exe 160 ..include files in: $SOPHYABASE/include 161 (you will only need it if you write code using sophya libraries) 162 ..object files in: $SOPHYABASE/obj 163 (you probably should not have to use it) 164 165 2./ Using Sophya shared libraries: 166 As you would do for any software, 167 add the repository name of Sophya shared libraries to LD_LIBRARY_PATH 168 > setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${SOPHYABASE}/slb 169 170 3./ Using Sophya programs: 171 As you would do for any software, 172 add the repository name of Sophya programs to PATH 173 > setenv PATH ${PATH}:${SOPHYABASE}/exe 174 then recomputed the internal hash table for executables 175 > rehash 176 177 4./ Using external libraries which are wrapped in Sophya external modules: 178 Sophya is presently using the archived version of the external libraries 179 so nothing special have to be done. 180 181 5./ Making your own programs: 182 If you are writing code using Sophya you may like to 183 "include $(SOPHYABASE)/include/sophyamake.inc" 184 in your own Makefile. 185 That will provide you with default variables for the libraries repositories 186 and names as well as standard compilation and link options for 187 various current OS and compilators. 188 (please see: > more $SOPHYABASE/include/sophyamake.inc ) 189 That is JUST AN HELP that Sophya provides, you may prefer 190 to deal YOURSELF with libraires path/names and compiler/linker options.
Note:
See TracChangeset
for help on using the changeset viewer.