summaryrefslogtreecommitdiffstats
path: root/c++/config
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2004-01-14 20:28:29 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2004-01-14 20:28:29 (GMT)
commit1ae65c4ef8a74ffcb384a064762cc517206dca38 (patch)
tree3041ad6c70437121f906577d1ca96f59eb41c094 /c++/config
parentca8d225c206c60e1f0e4635bb89e1896b67be1f1 (diff)
downloadhdf5-1ae65c4ef8a74ffcb384a064762cc517206dca38.zip
hdf5-1ae65c4ef8a74ffcb384a064762cc517206dca38.tar.gz
hdf5-1ae65c4ef8a74ffcb384a064762cc517206dca38.tar.bz2
[svn-r8064]
Purpose: Maintenance Description: I added new configuration file ia64-linux-gnu to the c++/config directory and made ecc a default C++ compiler for ia64-linux-gnu systems Solution: N/A Platforms tested: Altix (SGI Linux64 IA64 machine) - all tests passed titan - configuration passed; it is still building Misc. update:
Diffstat (limited to 'c++/config')
-rwxr-xr-xc++/config/ia64-linux-gnu29
1 files changed, 29 insertions, 0 deletions
diff --git a/c++/config/ia64-linux-gnu b/c++/config/ia64-linux-gnu
new file mode 100755
index 0000000..79ad557
--- /dev/null
+++ b/c++/config/ia64-linux-gnu
@@ -0,0 +1,29 @@
+
+if test -z "$CXX"; then
+ CXX=ecc
+ CXX_BASENAME=ecc
+fi
+
+
+case $CXX_BASENAME in
+ g++)
+ CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions
+ DEBUG_CXXFLAGS="-g -fverbose-asm"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+
+ *)
+ CXXFLAGS="$CXXFLAGS -tlocal"
+ DEBUG_CXXFLAGS="-g"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="" #Default optimization O2 is used
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+esac
+