summaryrefslogtreecommitdiffstats
path: root/c++/config
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-01-21 04:59:12 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-01-21 04:59:12 (GMT)
commit4098e48f0917329dd525d36009e08882f221efc7 (patch)
tree1816bc00a6262e1e49601d918b38b57a16031afe /c++/config
parent6f445c649d559502f65082dadb06a6a39e167294 (diff)
downloadhdf5-4098e48f0917329dd525d36009e08882f221efc7.zip
hdf5-4098e48f0917329dd525d36009e08882f221efc7.tar.gz
hdf5-4098e48f0917329dd525d36009e08882f221efc7.tar.bz2
[svn-r4843]
Purpose: Adding new supported platform Description: Added this config file for modi4. Note that, when libtool v1.5 is released and we start using it, the default library libCio can and should be removed from LIBS. It is there now because previous versions of libtool do not fully support c++ yet and default libraries must be manually added to the link line. Platforms tested: IRIX64 6.5 (modi4)
Diffstat (limited to 'c++/config')
-rw-r--r--c++/config/irix6.x32
1 files changed, 32 insertions, 0 deletions
diff --git a/c++/config/irix6.x b/c++/config/irix6.x
new file mode 100644
index 0000000..dfe28b5
--- /dev/null
+++ b/c++/config/irix6.x
@@ -0,0 +1,32 @@
+# -*- shell-script -*-
+#
+# This file is part of the HDF5 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compile modes.
+#
+# See BlankForm in this directory for details
+
+# The default compiler is `MIPSpro CC'
+if test -z "$CXX"; then
+ CXX=CC
+ CXX_BASENAME=CC
+fi
+
+# Try native compiler flags
+if test -z "$cxx_flags_set"; then
+# -LANG:std required for std use; -ptused causes templates used to be
+# instantiated
+ CPPFLAGS="-LANG:std -ptused"
+
+# libCio is a default library, since libtool before 1.5 doesn't fully
+# support C++ yet, default libraries must be explicitly specified.
+ LIBS="$LIBS -lCio"
+
+ DEBUG_CXXFLAGS=-g
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O -s"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS=-xpg
+ PROFILE_CPPFLAGS=
+ cxx_flags_set=yes
+fi