| 1 | 
mocchiut | 
1.1 | 
How to compile with 32bit arch on 64bit machine: | 
| 2 | 
  | 
  | 
 | 
| 3 | 
  | 
  | 
1) set the PAM_BIT environmental variable to "-m32" | 
| 4 | 
  | 
  | 
 | 
| 5 | 
  | 
  | 
2) enter the directory "event"  | 
| 6 | 
  | 
  | 
 | 
| 7 | 
  | 
  | 
3) mv Makefile Makefile.orig | 
| 8 | 
  | 
  | 
 | 
| 9 | 
  | 
  | 
4) mv Makefile.compile32biton64bitarch Makefile | 
| 10 | 
  | 
  | 
 | 
| 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 \ | 
| 14 | 
  | 
  | 
       /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtendS.o \ | 
| 15 | 
  | 
  | 
 | 
| 16 | 
  | 
  | 
the correct path depends on your setup. | 
| 17 | 
  | 
  | 
 | 
| 18 | 
  | 
  | 
 | 
| 19 | 
  | 
  | 
 | 
| 20 | 
  | 
  | 
 | 
| 21 | 
mocchiut | 
1.2 | 
 | 
| 22 | 
mocchiut | 
1.1 | 
How to compile with 64bit arch on 64bit machine: | 
| 23 | 
  | 
  | 
 | 
| 24 | 
  | 
  | 
1) set the PAM_BIT environmental variable to "-m64" | 
| 25 | 
  | 
  | 
 | 
| 26 | 
mocchiut | 
1.2 | 
2) enter the directory "event"  | 
| 27 | 
  | 
  | 
 | 
| 28 | 
  | 
  | 
3) mv Makefile Makefile.orig | 
| 29 | 
  | 
  | 
 | 
| 30 | 
  | 
  | 
4) mv Makefile.compileon64bitarch Makefile | 
| 31 | 
  | 
  | 
 | 
| 32 | 
  | 
  | 
5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118  | 
| 33 | 
  | 
  | 
 | 
| 34 | 
  | 
  | 
       /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbeginS.o \ | 
| 35 | 
  | 
  | 
       /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtendS.o \ | 
| 36 | 
  | 
  | 
 | 
| 37 | 
  | 
  | 
the correct path depends on your setup. | 
| 38 | 
  | 
  | 
 | 
| 39 | 
  | 
  | 
6) remember to use 64bit external software (ROOT, MySQL, etc.) |