/*
$Log$
+Revision 1.12 2002/10/14 14:55:33 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
Revision 1.10.6.1 2002/08/28 15:06:49 alibrary
Updating to v3-09-01
extern "C" int __mb_cur_max=0;
#endif
-int gcbank_[4000000];
+//int gcbank_[4000000];
//_____________________________________________________________________________
int main(int argc, char **argv)
#ifdef __linux
+#ifdef __ia64
+#else
#include <fpu_control.h>
void __attribute__ ((constructor))
trapfpe () {
_FPU_MASK_OM);
_FPU_SETCW(cw);
}
+#endif
#else
void trapfpe () {}
#endif
/*
$Log$
+Revision 1.5 2002/10/14 14:57:00 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
Revision 1.3.12.1 2002/10/14 13:14:08 hristov
Updating VirtualMC to v3-09-02
Int_t fmt;
#endif
#else
-#if defined __ICC
+#if defined __ICC || defined __ECC
ios::fmtflags fmt;
#else
Int_t fmt;
/*
$Log$
+Revision 1.17 2002/10/31 10:16:40 hristov
+Minor corrections for warnings on Alpha
+
Revision 1.16 2002/10/22 14:45:40 alibrary
Introducing Riostream.h
Int_t fmt;
#endif
#else
-#if defined __ICC
+#if defined __ICC || defined __ECC
ios::fmtflags fmt;
#else
Int_t fmt;
/*
$Log$
+Revision 1.18 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.17 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
Int_t fmt;
#endif
#else
-#if defined __ICC
+#if defined __ICC || defined __ECC
ios::fmtflags fmt;
#else
Int_t fmt;
//======================================================================
/*
$Log$
+Revision 1.18 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.17 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
//======================================================================
/*
$Log$
+Revision 1.18 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.17 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
Int_t fmt;
#endif
#else
-#if defined __ICC
+#if defined __ICC || defined __ECC
ios::fmtflags fmt;
#else
Int_t fmt;
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
//=====================================================================
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
Int_t fmt;
#endif
#else
-#if defined __ICC
+#if defined __ICC || defined __ECC
ios::fmtflags fmt;
#else
Int_t fmt;
//======================================================================
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
//======================================================================
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
//======================================================================
/*
$Log$
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
Revision 1.16 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
/*
$Log$
+Revision 1.20 2002/10/22 14:45:42 alibrary
+Introducing Riostream.h
+
Revision 1.19 2002/10/14 14:57:00 hristov
Merging the VirtualMC branch to the main development branch (HEAD)
Int_t fmt;
#endif
#else
-#if defined __ICC
+#if defined __ICC || defined __ECC
ios::fmtflags fmt;
#else
Int_t fmt;
* define UNIX when LINUX defined
+#if defined(CERNLIB_LXIA64)
+*
+* Take normal LINUX as basis for Itanium
+#ifndef CERNLIB_LINUX
+#define CERNLIB_LINUX
+#endif
+#endif
+
#if ((defined(CERNLIB_LINUX))||(defined (CERNLIB_SUN)))
#ifndef CERNLIB_UNIX
#define CERNLIB_UNIX
* Internal double-precision
* copy vectors as floating normally
#endif
+#if defined(CERNLIB_LXIA64)
+#if 0
+*
+* Take normal LINUX as basis for Itanium
+#endif
+#ifndef CERNLIB_LINUX
+#define CERNLIB_LINUX
+#endif
+#endif
#if defined(CERNLIB_MSDOS)
#include "kdos.h"
#endif
+#if defined(CERNLIB_LXIA64)
+*
+* Take normal LINUX as basis for Itanium
+#ifndef CERNLIB_LINUX
+#define CERNLIB_LINUX
+#endif
+#endif
+
#if defined(CERNLIB_IBMRT)
#ifndef CERNLIB_IBMRS
#define CERNLIB_IBMRS
LOGICAL LRMSCH, LRD1O2, LTRASP
INTEGER LUN
CHARACTER*100 FILNAM
-#if defined(CERNLIB_LINUX)||defined(CERNLIB_UNIX)||defined(CERNLIB_VAX)||defined(CERNLIB_CRAY)
+#if defined(CERNLIB_LINUX)||defined(CERNLIB_UNIX)||defined(CERNLIB_VAX)||defined(CERNLIB_CRAY)||defined(CERNLIB_LXIA64)
CHARACTER*100 CHROOT
#endif
-#if defined(CERNLIB_LINUX) || defined(CERNLIB_UNIX)||defined(CERNLIB_CRAY)
+#if defined(CERNLIB_LINUX) || defined(CERNLIB_UNIX)||defined(CERNLIB_CRAY)||defined(CERNLIB_LXIA64)
CHROOT=' '
CALL GETENVF('ALICE_ROOT',CHROOT)
LNROOT = LNBLNK(CHROOT)
- integer function pythia6_common_block_address(common_block_name)
+#ifdef __ia64
+ integer*8
+#else
+ integer
+#endif
+ + function pythia6_common_block_address(common_block_name)
c-----------------------------------------------------------------------
c revision history:
c -----------------
external pydata
c
c-----------------------------------------------------------------------
- integer pythia6_addressc, pythia6_addressi
- integer pythia6_addressd, pythia6_addressf
+#ifdef __ia64
+ integer*8
+#else
+ integer
+#endif
+ + pythia6_addressc, pythia6_addressi,
+ + pythia6_addressd, pythia6_addressf,
+ + common_block_address
external pythia6_addressc, pythia6_addressi
external pythia6_addressd, pythia6_addressf
- integer common_block_address
c-----------------------------------------------------------------------
common_block_address = 0
c-----------------------------------------------------------------------
--- /dev/null
+PLATFORM:=linuxicc
+
+# The compilers
+CXX = ecc
+F77 = efc
+CC = ecc
+
+# Global optimisation
+OPT = -g #-O
+
+CXXOPTS = $(OPT)
+COPT = $(OPT)
+FOPT = $(OPT)
+CXXFLAGS = $(CXXOPTS)
+CFLAGS = $(COPT)
+
+# rootcint flags
+CINTFLAGS = #$(CXXFLAGS)
+
+# CERNLIB defines
+
+CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
+CLIBCXXOPTS =
+CLIBCOPT =
+CLIBFOPT =
+
+# Common Fortran compilation flags
+FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
+
+LD = ecc
+LDFLAGS = $(OPT)
+
+SHLD = $(LD)
+SOFLAGS = -Wl,-soname,$(notdir $@) -shared -O
+SHLIB =
+SOEXT = so
+
+ALLD = ar
+ALFLAGS = cr
+ALLIB =
+AEXT = a
+
+# additional ROOT libraries
+ROOTLIBS += -lcrypt
+
+# rmkdepend flags for building dependencies of FORTRAN files
+DEPENDFFLAGS = $(FFLAGS)
+
+LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+GLIBS = $(LIBNOVER)
+
+#System libraries
+SYSLIBS =
+
+EXEFLAGS+= -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins
--- /dev/null
+PLATFORM:=linux
+
+# The compilers
+CXX = g++
+F77 = g77
+CC = gcc
+
+# Global optimisation
+OPT = -g #-O
+
+CXXOPTS = $(OPT) -Wall -fPIC -pipe
+COPT = $(OPT)
+FOPT = $(OPT) -fno-second-underscore
+CXXFLAGS = $(CXXOPTS)
+CFLAGS = -Wall -fPIC -pipe
+
+# rootcint flags
+CINTFLAGS = #$(CXXFLAGS)
+
+# CERNLIB defines
+
+CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
+CLIBCXXOPTS =
+CLIBCOPT =
+CLIBFOPT =
+
+# Common Fortran compilation flags
+FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
+
+LD = g++
+LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
+
+SHLD = $(LD)
+SOFLAGS = -shared -Wl #-O2
+#SHLIB = -lg2c
+SOEXT = so
+
+ALLD = ar
+ALFLAGS = cr
+ALLIB =
+AEXT = a
+
+# additional ROOT libraries
+ROOTLIBS += -lcrypt
+
+# rmkdepend flags for building dependencies of FORTRAN files
+DEPENDFFLAGS = $(FFLAGS)
+
+LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+GLIBS = -L/usr/X11R6/lib -lX11 $(LIBNOVER)
+
+#System libraries
+SYSLIBS = -ldl -lbsd
+
+EXEFLAGS+= -lg2c
+
+
+
+