summaryrefslogtreecommitdiffstats
path: root/config/solaris2.x
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-03-12 18:35:04 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-03-12 18:35:04 (GMT)
commitb8ef51ee7a0cf3fd27ccedac81f637ac10c75942 (patch)
treeef99f4a38d89b682fa065ffb45c83ce0f2574aac /config/solaris2.x
parentd6cc19e3f2f84d50e1a62b004a34d6c2a9734a10 (diff)
downloadhdf5-b8ef51ee7a0cf3fd27ccedac81f637ac10c75942.zip
hdf5-b8ef51ee7a0cf3fd27ccedac81f637ac10c75942.tar.gz
hdf5-b8ef51ee7a0cf3fd27ccedac81f637ac10c75942.tar.bz2
[svn-r1138] Changes since 19990304
---------------------- ./config/*-aix4.* [REMOVED] ./config/*-aix4.x [NEW] ./config/solaris2.5 [REMOVED] ./config/solaris2.x [NEW] ./configure.in ./configure [REGENERATED] ./MANIFEST Changed the names of the IBM-SP2 config files by replacing the minor version numbers with an `x'. The solaris config warns about old versions of gcc. The RUNSERIAL value is set to the empty string by default. The config/* file (or user) can override it by setting it to some other value. The `--enable-parallel' with no flags turns on the HAVE_PARALLEL constant in the source code but doesn't add any MPI or MPI-IO libraries to the link line. If we are compiling for parallel then configure checks that we can actually link a very simple program. This has the benefit of detecting config errors before we waste time compiling the entire library. Configure recognizes `mpcc_r' as a parallel compiler. ./src/H5A.c ./src/H5Apublic.c Fixed some compiler warnings. Changed the return type of H5Aget_name() from hssize_t to ssize_t because the name can never be larger then memory.
Diffstat (limited to 'config/solaris2.x')
-rw-r--r--config/solaris2.x28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/solaris2.x b/config/solaris2.x
new file mode 100644
index 0000000..5817957
--- /dev/null
+++ b/config/solaris2.x
@@ -0,0 +1,28 @@
+# -*- 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 `gcc'
+if test "X-" = "X-$CC"; then
+ CC=gcc
+ CC_BASENAME=gcc
+fi
+
+# Try gcc compiler flags
+. ./config/gnu-flags
+
+# Try solaris native compiler flags
+if test "X-" = "X-$cc_flags_set; then
+ CFLAGS="-erroff=%none"
+ DEBUG_CFLAGS=-g
+ DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2"
+ PROD_CFLAGS=-xO2
+ PROD_CPPFLAGS=
+ PROFILE_CFLAGS=-xpg
+ PROFILE_CPPFLAGS=
+ cc_flags_set=yes
+fi