[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'.
This commit is contained in:
Robb Matzke 1999-07-27 15:33:40 -05:00
parent b9f1ca7df7
commit 139688863f
2 changed files with 23 additions and 1 deletions

View File

@ -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"

View File

@ -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 \