diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-02-13 20:08:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-02-13 20:08:27 (GMT) |
commit | bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85 (patch) | |
tree | 30ad9ed82f375427c68875274a3e69f41e978f51 /config/powerpc-ibm-aix5.x | |
parent | cdfaa75e5e8bf028a51d9489097a0e93216bc279 (diff) | |
download | hdf5-bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85.zip hdf5-bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85.tar.gz hdf5-bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85.tar.bz2 |
[svn-r8202] Purpose:
Code cleanup/bug fix
Description:
Fix configuration files to allow 64-bit compilation of the library with
a 64-bit version of zlib.
Solution:
Moved important compiler flags settings from CC macro to CFLAGS macro.
Instead of setting CC (F9X, CXX) environment variable for compiling for 64-bit
code, users should just set the CFLAGS (FFLAGS, CXXFLAGS) to -q64.
Updated INSTALL file to reflect this change.
Platforms tested:
IBM p690 (copper) w/parallel, FORTRAN, C++, srcdir.
Platforms specific - h5committest does not apply.
Diffstat (limited to 'config/powerpc-ibm-aix5.x')
-rw-r--r-- | config/powerpc-ibm-aix5.x | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x index 41e2c6a..97a6115 100644 --- a/config/powerpc-ibm-aix5.x +++ b/config/powerpc-ibm-aix5.x @@ -5,13 +5,12 @@ # the various compile modes. # Use AIX supplied C compiler by default, xlc for serial, mpcc_r for parallel. -# Use -D_LARGE_FILES by default to support large file size. if test "X-" = "X-$CC"; then if test "X-$enable_parallel" = "X-yes"; then - CC='mpcc_r -qlanglvl=ansi -D_LARGE_FILES' + CC=mpcc_r CC_BASENAME=mpcc_r else - CC='xlc -qlanglvl=ansi -D_LARGE_FILES' + CC=xlc CC_BASENAME=xlc fi fi @@ -31,8 +30,8 @@ case $CC_BASENAME in xlc|mpcc_r) # Turn off shared lib option. It causes some test suite to fail. enable_shared="${enable_shared:-no}" - # CFLAGS must be set else configure set it to -g - CFLAGS="$CFLAGS" + # Use -D_LARGE_FILES by default to support large file size. + CFLAGS="-qlanglvl=ansi -D_LARGE_FILES $CFLAGS" DEBUG_CFLAGS="-g" DEBUG_CPPFLAGS= # -O causes test/dtypes to fail badly. Turn it off for now. |