Files
hdf5/config/powerpc-apple
Elena Pourmal 4ccf6a145f [svn-r8030]
Purpose: Maintenance

Description: Added Fortran support for MAC OS X

Solution: This port was tested only for IBM XL Fortran compiler
           version 8.1 Beta.
          Few things to remember:
              1. do not use AFS to build Fortran; compiler
                 for some reason cannot find *.mod files that
                 were successfully compiled.
              2. Fortran Library can be built only with --disable-shared
                 --enable-static flags.

Platforms tested: pommier, h5committested (it is amasing, but iot works
                  really nicely! Albert, Thank you!)

Misc. update:
2004-01-06 14:51:10 -05:00

35 lines
947 B
Bash

# -*- shell-script -*-
# This file is part of the HDF5 build script. It is processed shortly
# after configure starts and defines, among other things, flags for
# the various compile modes.
#
# See BlankForm in this directory for details.
# The default compiler is `gcc'
if test "X-" = "X-$CC"; then
CC=gcc
CC_BASENAME=gcc
fi
# Architecture-specific flags
ARCH=
# Add "_POSIX_C_SOURCE" define to cpp flags, to quiet warnings
# from /usr/include/sys/cdefs.h
#CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=1"
# Omit frame pointer for optimized code?
NOFP=${NOFP:=-fomit-frame-pointer}
# Figure out compiler flags
. $srcdir/config/gnu-flags
# Special setup to use pthread support if enable-threadsafe is on.
# Works with static executable only.
#if test "X-" != "X-$enable_threadsafe"; then
# CFLAGS="$CFLAGS -pthread -D_THREAD_SAFE"
# LDFLAGS="$LDFLAGS -pthread"
# LIBS="$LIBS -lcipher"
# enable_static_exec=yes
#fi