diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-08-06 21:32:33 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-08-06 21:32:33 (GMT) |
commit | acd04a1aa67b182623f26979515ab8dd5b978f11 (patch) | |
tree | 7a65e24c03e9e2d7db021e6f89603f5bab458a78 /config/solaris2.5 | |
parent | de875442351b3ddd204b65d371536e63de6be8ff (diff) | |
download | hdf5-acd04a1aa67b182623f26979515ab8dd5b978f11.zip hdf5-acd04a1aa67b182623f26979515ab8dd5b978f11.tar.gz hdf5-acd04a1aa67b182623f26979515ab8dd5b978f11.tar.bz2 |
[svn-r579] Changes since 19980806
----------------------
./config/solaris2.5
Hopefully set up now so it honors the CC and CFLAGS variables
and understands solaris cc flags.
./test/big.c
Checks to see if creating lots of large sparse files exceeds
the user disk quota and skips the test. It also checks that
we can actually open ~64 files at once.
./doc/html/Files.html
./src/H5A.c
./src/H5Aprivate.h
./src/H5F.c
./src/H5Fpublic.h
Added the H5Fflush() function which takes any object as an
argument as long as the object is in some way associated with
a file. This required an H5A_entof()
./src/H5.c
./src/H5Flow.c
The `%a' format of HDfprintf() now allows a field width and
justification flag etc, like the other formats. The old
H5F_addr_print() was recoded to call HDfprintf() instead of
vice versa.
Diffstat (limited to 'config/solaris2.5')
-rw-r--r-- | config/solaris2.5 | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/config/solaris2.5 b/config/solaris2.5 index 581415e..74561c2 100644 --- a/config/solaris2.5 +++ b/config/solaris2.5 @@ -10,26 +10,30 @@ # flags like `-DH5G_DEBUG' since these are added with the # `--enable-debug' switch of configure. -# We can only use gcc -CC=gcc - -# What must *always* be present for things to compile correctly? -CFLAGS="$CFLAGS -ansi" -#CPPFLAGS="$CPPFLAGS -I." - -# What compiler flags should be used for code development? -DEBUG_CFLAGS=-g -DEBUG_CPPFLAGS= - -# What compiler flags should be used for building a production -# library? -PROD_CFLAGS=-O2 -PROD_CPPFLAGS= - -# What compiler flags enable code profiling? -PROFILE_CFLAGS=-pg -PROFILE_CPPFLAGS= - +# We use gcc unless something else is specified. +CC=${CC:-gcc} + +case $CC in + *gcc*) + CFLAGS="$CFLAGS -ansi" + DEBUG_CFLAGS="-g -fverbose-asm" + DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2" + PROD_CFLAGS="-O3 -finline-functions" + PROD_CPPFLAGS= + PROFILE_CFLAGS=-pg + PROFILE_CPPFLAGS= + ;; + + *) + CFLAGS="-erroff=%none" + DEBUG_CFLAGS=-g + DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2" + PROD_CFLAGS=-xO2 + PROD_CPPFLAGS= + PROFILE_CFLAGS=-xpg + PROFILE_CPPFLAGS= + ;; +esac #---------------------------------------------------------------------------- # Values for overriding configuration tests when cross compiling. |