/[PAMELA software]/chewbacca/README
ViewVC logotype

Diff of /chewbacca/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mocchiut, Tue Sep 23 09:52:46 2008 UTC revision 1.7 by mocchiut, Fri Sep 26 19:51:41 2008 UTC
# Line 1  Line 1 
1  How to compile with 32bit arch on 64bit machine:  *********************************************************************************************************
2    
3    How to compile with 32bit arch on 32bit machine:
4    
5  1) set the PAM_BIT environmental variable to "-m32"  1) set the PAMELA environment
6    
7  2) enter the directory "event"  2) source set_env_comp.sh
8    
9  3) mv Makefile Makefile.orig  3) make distclean all install
10    
 4) mv Makefile.compile32biton64bitarch Makefile  
11    
 5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118  
12    
13         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtbeginS.o \  How to compile with 32bit arch on 64bit machine:
14         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtendS.o \  
15    1) set the PAMELA environment
16    
17  the correct path depends on your setup.  2) source set_env_comp.sh
18    
19    3) set the PAM_BIT environmental variable to "-m32"
20    
21    4) make distclean all install
22    
23    
24    
25  How to compile with 64bit arch on 64bit machine:  How to compile with 64bit arch on 64bit machine:
26    
27  1) set the PAM_BIT environmental variable to "-m64"  1) set the PAMELA environment #### remember to use 64bit external software (ROOT, MySQL, etc.) ####
28    
29    2) source set_env_comp.sh
30    
31    3) make distclean all install
32    
33    
34    *********************************************************************************************************
35    
36  2) enter the directory "event"  How to install the DB:
37    
38  3) mv Makefile Makefile.orig  1) Set the environmental variable PAM_DBHOST
39    
40  4) mv Makefile.compileon64bitarch Makefile  2) enter the directory
41             YodaProfiler/docs
42    
43  5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118  3) run the script
44            ./install_DB.sh
45    
        /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbeginS.o \  
        /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtendS.o \  
46    
47  the correct path depends on your setup.  *********************************************************************************************************
48    
 6) remember to use 64bit external software (ROOT, MySQL, etc.)  

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23