summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-07-27 20:33:40 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-07-27 20:33:40 (GMT)
commit139688863f191366fe27fbab9654a52285e63c11 (patch)
tree293f85d4903cf69185c2f532ad22779398426912
parentb9f1ca7df7bd03494016a9dcfc1b7240cbb6bfb1 (diff)
downloadhdf5-139688863f191366fe27fbab9654a52285e63c11.zip
hdf5-139688863f191366fe27fbab9654a52285e63c11.tar.gz
hdf5-139688863f191366fe27fbab9654a52285e63c11.tar.bz2
[svn-r1547] Changes since 19990723
---------------------- NOTE: These bug fixes but have been applied only to the 1.3 branch per Albert's request. ./config/gnu-flags [1.3] Added support for gcc-2.95 by adding full optimization and debugging flags and applied a patch from Marcus Daniels. ./src/Makefile.in [1.3] Removes the `libhdf5.settings' file for `make clean'.
-rw-r--r--config/gnu-flags21
-rw-r--r--src/Makefile.in3
2 files changed, 23 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 93f044a..e1fa51d 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -27,6 +27,7 @@ if test X = "X$cc_flags_set"; then
cc_vers_major=`echo $cc_version | cut -f1 -d.`
cc_vers_minor=`echo $cc_version | cut -f2 -d.`
cc_vers_patch=`echo $cc_version | cut -f3 -d.`
+ test -n "$cc_vers_patch" || cc_vers_patch=0
cc_vers_all=`expr $cc_vers_major '*' 1000000 + $cc_vers_minor '*' 1000 + $cc_vers_patch`
fi
@@ -120,6 +121,26 @@ case "$cc_vendor-$cc_version" in
cc_flags_set=yes
;;
+ gcc-2.95)
+ # General
+ CFLAGS="$CFLAGS -Wsign-compare"
+
+ # Production
+ PROD_CFLAGS="$ARCH -O6 $NOFP -Wno-shadow"
+ PROD_CPPFLAGS=
+
+ # Debug
+ DEBUG_CFLAGS="-g -fverbose-asm -Wno-shadow"
+ DEBUG_CPPFLAGS="-DH5F_OPT_SEEK=0 -DH5F_LOW_DFLT=H5F_LOW_SEC2"
+
+ # Profile
+ PROFILE_CFLAGS=-pg
+ PROFILE_CPPFLAGS=
+
+ # Flags are set
+ cc_flags_set=yes
+ ;;
+
egcs-2.*|pgcc-2.*)
# General
CFLAGS="$CFLAGS -Wsign-compare"
diff --git a/src/Makefile.in b/src/Makefile.in
index 8c1b288..15d5172 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -16,8 +16,9 @@ TRACE=perl $(top_srcdir)/bin/trace
## Add `-I.' to the C preprocessor flags.
CPPFLAGS=-I. -I@srcdir@ @CPPFLAGS@
-## This is our main target:
+## This is our main target, but also remove the settings file when cleaning.
LIB=libhdf5.la
+CLEAN=libhdf5.settings
## Source and object files for the library (lexicographically)...
LIB_SRC=H5.c H5A.c H5AC.c H5B.c H5D.c H5E.c H5F.c H5Farray.c H5Fcore.c \