Size: 1144
Comment:
|
Size: 1597
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
The source code of the library ''utils'' is under the control of the CVS (Concurrent Version System) utility. It is checked out and installed in directory ''/usr/local/icg/icg1/local/utils'' and this library is linked by compiling a CLaMS program. Modifications in this directory will affect all other users directly. So if you want to change one of these routines, it should be modified and tested in a local version of the library ''utils'': |
|
Line 33: | Line 38: |
1. Send mail to Nicole or Verena. They can update the utils library in directory ''/usr/local/icg/icg1/local/utils'' which is used for compilations of CLaMS programs by default. | 1. Send mail to Nicole or Verena. They can update the utils library in directory ''/usr/local/icg/icg1/local/utils'' which is used for compilations of CLaMS programs by default. |
Make changes in Utils Library
The source code of the library utils is under the control of the CVS (Concurrent Version System) utility. It is checked out and installed in directory /usr/local/icg/icg1/local/utils and this library is linked by compiling a CLaMS program. Modifications in this directory will affect all other users directly. So if you want to change one of these routines, it should be modified and tested in a local version of the library utils:
Check out library utils to $HOME/clams or - if it is already checked out - update all files:
cvs co utils
orcvs update utils
Make changes in $HOME/clams/utils/src
Compile library utils:
gmake theLibrary
- Compile program with modified library:
gmake distclean gmake utils_test=true progname
It is important to make distclean before compiling so that the correct module and library paths are used for compiling and linking.
- Repeat steps 2 to 4 until modification is completed.
- Commit the modified files in utils library to the repository:
cvs commit -m "..." filename
Send mail to Nicole or Verena. They can update the utils library in directory /usr/local/icg/icg1/local/utils which is used for compilations of CLaMS programs by default.
Remarks:
If you have compiled a program with a local utils library (with utils_test=true) and later on you want to compile it with the default utils library, it is necessary to make distclean before compiling.