diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2003-10-03 19:57:16 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2003-10-03 19:57:16 (GMT) |
commit | 152aded51fca015ae7902b415cd39a2b35dbb7ba (patch) | |
tree | 2a8451be2fc9feca8c32d8807b9c61e60270abb8 /c++ | |
parent | 580f0b83ab866707f571dee93405fade2e6c9acb (diff) | |
download | hdf5-152aded51fca015ae7902b415cd39a2b35dbb7ba.zip hdf5-152aded51fca015ae7902b415cd39a2b35dbb7ba.tar.gz hdf5-152aded51fca015ae7902b415cd39a2b35dbb7ba.tar.bz2 |
[svn-r7535]
Purpose: Maintenance
Description: I added dec-osf5.x configuration file. By default
DEC cxx compiler is used to build HDF5 C++ Library
Platforms tested: True64 (PSC)
Misc. update:
Diffstat (limited to 'c++')
-rwxr-xr-x | c++/config/dec-osf5.x | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/c++/config/dec-osf5.x b/c++/config/dec-osf5.x new file mode 100755 index 0000000..7003bea --- /dev/null +++ b/c++/config/dec-osf5.x @@ -0,0 +1,29 @@ + +if test -z "$CXX"; then + CXX=cxx + CXX_BASENAME=cxx +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="-O" + PROD_CPPFLAGS= + PROFILE_CXXFLAGS="-pg" + PROFILE_CPPFLAGS= + ;; +esac + |