/[PAMELA software]/chewbacca/README
ViewVC logotype

Diff of /chewbacca/README

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

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

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23