| 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: | 
| 13 | 
 | 
| 14 | 
1) set the PAMELA environment | 
| 15 | 
 | 
| 16 | 
2) source set_env_comp.sh | 
| 17 | 
 | 
| 18 | 
3) set the PAM_BIT environmental variable to "-m32" | 
| 19 | 
 | 
| 20 | 
4) make distclean all install | 
| 21 | 
 | 
| 22 | 
 | 
| 23 | 
 | 
| 24 | 
 | 
| 25 | 
How to compile with 64bit arch on 64bit machine: | 
| 26 | 
 | 
| 27 | 
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 | 
 |