version 1.1, 2007/10/02 00:12:19
|
version 1.3, 2008/06/09 23:43:41
|
Line 13 after Ver_3-5-PreRelease. |
|
Line 13 after Ver_3-5-PreRelease. |
|
A new make system is in place after Ver_3-5-PreRelease. If you have a | A new make system is in place after Ver_3-5-PreRelease. If you have a |
cvs working directory of or before Ver_3-5-PreRelease, you'll need to | cvs working directory of or before Ver_3-5-PreRelease, you'll need to |
run 'make clean' before 'cvs update' in order to clean up the .c files | run 'make clean' before 'cvs update' in order to clean up the .c files |
generated from .pgc files in src/base/libsum_pg. |
generated from .pgc files in base/libsum_pg. |
| |
./configure only makes symbolic links for all header files in the JSOC | ./configure only makes symbolic links for all header files in the JSOC |
tree. The binaries, as well as .c files generated from .pgc files, | tree. The binaries, as well as .c files generated from .pgc files, |
Line 22 _linux_ia32. Symbolic links to executabl |
|
Line 22 _linux_ia32. Symbolic links to executabl |
|
in bin/ and lib/. | in bin/ and lib/. |
| |
The default compiler is icc with optimization and without debug. Two | The default compiler is icc with optimization and without debug. Two |
exceptions to this rule are src/base/libsum_pg and src/base/sum, both |
exceptions to this rule are base/libsum_pg and base/sum, both |
of which are fixed to compile with 'gcc -g -O0'. | of which are fixed to compile with 'gcc -g -O0'. |
| |
src/base/sum is not part of the default targets. Uncomment the |
base/sum is not part of the default targets. Uncomment the |
following line in src/base/sum/Rules.mk to change it. |
following line in base/sum/Rules.mk to change it. |
#TGT_BIN := $(TGT_BIN) $(TGT_$(d)) | #TGT_BIN := $(TGT_BIN) $(TGT_$(d)) |
| |
Except for src/third_party/su, nothing in src/third_party is among the | Except for src/third_party/su, nothing in src/third_party is among the |
Line 36 To change your default compiler to gcc, |
|
Line 36 To change your default compiler to gcc, |
|
make_basic.mk from | make_basic.mk from |
| |
COMPILER = icc | COMPILER = icc |
|
|
to | to |
|
|
COMPILER = gcc | COMPILER = gcc |
| |
Before changing this make variable, you should run 'make clean'. | Before changing this make variable, you should run 'make clean'. |
Line 48 probably not link and/or run properly. |
|
Line 46 probably not link and/or run properly. |
|
To enable debug, modify the following line in make_basic.mk from | To enable debug, modify the following line in make_basic.mk from |
| |
DEBUG = | DEBUG = |
|
|
to | to |
|
|
DEBUG = 1 | DEBUG = 1 |
| |
|
When you have finished making any customizations to make_basic.mk, type: |
|
|
|
./configure |
|
make |
|
|
|
If the computer you are building DRMS on has multiple CPUs, you |
|
might want to save time by typing something like: |
|
|
|
make -j 4 |
|
|
Since there is only one Makefile for the whole JSOC tree, you must | Since there is only one Makefile for the whole JSOC tree, you must |
always compile in this top level directory. However, you will be able | always compile in this top level directory. However, you will be able |
to make specific target, e.g., make drms_server. | to make specific target, e.g., make drms_server. |
| |
To learn more about the new make system, please refer to | To learn more about the new make system, please refer to |
http://jsoc/trac/wiki/JsocMakefileBackground and |
http://jsoc.stanford.edu/jsocwiki/JsocMakefileBackground and |
http://jsoc/trac/wiki/JsocMakefileAdd |
http://jsoc.stanford.edu/jsocwiki/JsocMakefileAdd |