/[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.5 by mocchiut, Tue Sep 23 14:57:43 2008 UTC
# Line 1  Line 1 
1    How to compile with 32bit arch on 32bit machine:
2    
3    1) set the PAMELA environment
4    
5    2) source set_env_comp.sh
6    
7    3) make distclean all install
8    
9    
10    
11    
12  How to compile with 32bit arch on 64bit machine:  How to compile with 32bit arch on 64bit machine:
13    
14  1) set the PAM_BIT environmental variable to "-m32"  1) set the PAMELA environment
15    
16  2) enter the directory "event"  2) source set_env_comp.sh
17    
18  3) mv Makefile Makefile.orig  3) set the PAM_BIT environmental variable to "-m32"
19    
20  4) mv Makefile.compile32biton64bitarch Makefile  4) enter the directory "event"
21    
22  5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118  5) mv Makefile Makefile.orig
23    
24    6) mv Makefile.compile32biton64bitarch Makefile
25    
26    7) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and
27    117/118
28    
29         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtbeginS.o \         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtbeginS.o \
30         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtendS.o \         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtendS.o \
31    
32  the correct path depends on your setup.  the correct path depends on your setup.
33    
34    8) make distclean all install
35    
36    
37    
38    
39  How to compile with 64bit arch on 64bit machine:  How to compile with 64bit arch on 64bit machine:
40    
41  1) set the PAM_BIT environmental variable to "-m64"  1) set the PAMELA environment #### remember to use 64bit external software (ROOT, MySQL, etc.) ####
42    
43    2) source set_env_comp.sh
44    
45  2) enter the directory "event"  3) set the PAM_BIT environmental variable to "-m64"
46    
47  3) mv Makefile Makefile.orig  4) enter the directory "event"
48    
49  4) mv Makefile.compileon64bitarch Makefile  5) mv Makefile Makefile.orig
50    
51  5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118  6) mv Makefile.compileon64bitarch Makefile
52    
53    7) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and
54    117/118
55    
56         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbeginS.o \         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbeginS.o \
57         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtendS.o \         /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtendS.o \
58    
59  the correct path depends on your setup.  the correct path depends on your setup.
60    
61  6) remember to use 64bit external software (ROOT, MySQL, etc.)  8) make distclean all install
62    
63    

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

  ViewVC Help
Powered by ViewVC 1.1.23