summaryrefslogtreecommitdiffstats
path: root/config/irix6.x
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-02-26 19:58:14 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-02-26 19:58:14 (GMT)
commit912c5a0874182f0705e3fe6756859817e2a64cdd (patch)
treea68f01992ce5a618dfee8f69778e2ffd8dda03af /config/irix6.x
parentefb18f8785f0c1f967743fba1ed13a392a0ca601 (diff)
downloadhdf5-912c5a0874182f0705e3fe6756859817e2a64cdd.zip
hdf5-912c5a0874182f0705e3fe6756859817e2a64cdd.tar.gz
hdf5-912c5a0874182f0705e3fe6756859817e2a64cdd.tar.bz2
[svn-r1108] Changes since 19990225
---------------------- ./INSTALL Added warnings and a disclaimer about GNU, DEC, Irix64, and NT compilers that generate incorrect machine code. ./configure.in ./src/H5private.h Detects and includes <sys/param.h> which is needed on FreeBSD before <sys/proc.h> even though we only really using anything from <sys/proc.h> on the DEC Alpha. ./config/irix64 Turned off warnings for duplicate definitions from the linker because -lnsl on irix has the same stuff in it as -lc. ./config/irix6.x Split up the CC and CFLAGS settings like with irix64 so that compilers besides `-n32' can be used. ./bin/snapshot The snapshots are tagged with names like hdf5-1_1_52 which is similar to the way the releases are tagged (cvs doesn't allow dots in tags). ./test/dtypes.c ./src/H5private.h ./src/H5Tconv.c Fixed some alignment violations on the DEC when using high optimization levels. The DEC incorrectly optimizes certain memcpy() and memmove() calls when the source argument is not word aligned if the call looks like it's copying an atomic data type. ./test/hyperslab Worked around code generation bugs in the Irix64 Mongoose 7.00 compiler by casting some `unsigned long' values to `unsigned' in an expression. ./src/H5Ocomp.c Fixed a place where %d was used to print a size_t.
Diffstat (limited to 'config/irix6.x')
-rw-r--r--config/irix6.x16
1 files changed, 13 insertions, 3 deletions
diff --git a/config/irix6.x b/config/irix6.x
index 4ba1252..ed16b69 100644
--- a/config/irix6.x
+++ b/config/irix6.x
@@ -8,7 +8,7 @@
# The default compiler is `cc' and there is no ranlib.
if test "X-" = "X-$CC"; then
- CC=cc
+ CC='cc -n32'
CC_BASENAME=cc
fi
RANLIB=:
@@ -25,22 +25,32 @@ case "X-$CC_BASENAME" in
;;
*)
+ CFLAGS="$CFLAGS -ansi"
+
# Always turn off these compiler warnings:
# 1174: function declared but not used
# 1429: the `long long' type is not standard
# 1209: constant expressions
# 1196: __vfork() (this is an SGI config problem)
+ CFLAGS="$CFLAGS -woff 1174,1429,1209,1196"
+
# Always turn off these loader warnings:
# 47: linked module might degrade performance
# 84: a library is not used
# 85: duplicate definition preemption
# 134: duplicate weak definition preemption
- CFLAGS="$CFLAGS -ansi -n32 -woff 1174,1429,1209,1196 -Wl,-woff,47 -Wl,-woff,84 -Wl,-woff,85 -Wl,-woff,134"
+ CFLAGS="$CFLAGS -Wl,-woff,47,-woff,84,-woff,85,-woff,134"
+
+ # Extra debugging flags
DEBUG_CFLAGS=-g
DEBUG_CPPFLAGS=
- # Higher optimizations relax alignment requirements needed
+
+ # Extra production flags
+ # Note: higher optimizations relax alignment requirements needed.
PROD_CFLAGS=-O1
PROD_CPPFLAGS=
+
+ # Extra profiling flags
PROFILE_CFLAGS=-pg
PROFILE_CPPFLAGS=
;;