New MachineDef for ROOT 2.22
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Jul 1999 08:02:43 +0000 (08:02 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Jul 1999 08:02:43 +0000 (08:02 +0000)
conf/MachineDef.HP-UX.egcs [new file with mode: 0644]
conf/MachineDef.Linux

diff --git a/conf/MachineDef.HP-UX.egcs b/conf/MachineDef.HP-UX.egcs
new file mode 100644 (file)
index 0000000..c2bd733
--- /dev/null
@@ -0,0 +1,54 @@
+# Which Machine 
+PLATFORM      = linux
+#en esperant que ca marche...
+
+# The compilers
+CXX           = echo $*.cxx ; g++
+F77          = echo $*.F ; g77
+CC           = echo $*.c ; gcc
+
+# Global optimisation
+OPT           = -O2
+OPT           = -g
+
+# Shared library suffix
+SL           = sl
+
+# The options
+CXXOPTS       = $(OPT) -Wall -fPIC
+
+#essai numero 2232...
+
+#CXXFLAGS      = -fPIC -I/usr/include/X11R5
+
+#fin essai
+
+COPT         = $(OPT) -fPIC
+FOPT         = $(OPT) -fPIC -fno-second-underscore
+
+# CERNLIB defines
+
+CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+CLIBCXXOPTS   =
+CLIBCOPT      =
+CLIBFOPT      =
+
+# Additional directories for dependencies
+
+DEPINC        = -I/usr/local/include/g++ \
+               -I/usr/local/hppa1.1-hp-hpux10.20/include \
+               -I/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.60/include 
+
+LD            = g++
+LDFLAGS       = $(OPT)
+
+SHLD         = $(LD)
+#SOFLAGS       = -Wl,-b,/usr/lib/libm.sl
+SOFLAGS       = -shared -fPIC
+SHLIB         = 
+
+#LIBS          = $(ROOTLIBS) -lm -rdynamic
+#GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -ldl -lcrypt -rdynamic
+
+LIBS          = $(ROOTLIBS) -lm
+GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt 
index a0895a9..73daf85 100644 (file)
@@ -14,7 +14,11 @@ OPT           = -g
 SL           = so
 
 # The options
-CXXOPTS       = $(OPT) -Wall -fPIC  -fno-rtti -fno-exceptions
+#
+# starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
+# not necessary any more
+#
+CXXOPTS       = $(OPT) -Wall -fPIC
 COPT         = $(OPT)
 FOPT         = $(OPT) -fno-second-underscore