--- chewbacca/README 2008/09/23 14:57:43 1.5 +++ chewbacca/README 2008/10/02 14:37:13 1.8 @@ -1,11 +1,10 @@ +********************************************************************************************************* + How to compile with 32bit arch on 32bit machine: 1) set the PAMELA environment -2) source set_env_comp.sh - -3) make distclean all install - +2) make distclean all install @@ -13,26 +12,9 @@ 1) set the PAMELA environment -2) source set_env_comp.sh - -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 +2) set the PAM_BIT environmental variable to "-m32" +3) make distclean all install @@ -40,24 +22,21 @@ 1) set the PAMELA environment #### remember to use 64bit external software (ROOT, MySQL, etc.) #### -2) source set_env_comp.sh - -3) set the PAM_BIT environmental variable to "-m64" +2) make distclean all install -4) enter the directory "event" -5) mv Makefile Makefile.orig +********************************************************************************************************* -6) mv Makefile.compileon64bitarch Makefile +How to install the DB: -7) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and -117/118 +1) Set the environmental variable PAM_DBHOST - /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbeginS.o \ - /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtendS.o \ +2) enter the directory + YodaProfiler/docs -the correct path depends on your setup. +3) run the script + ./install_DB.sh -8) make distclean all install +*********************************************************************************************************