From 4ccf6a145f00a549d1e618555c1215ab88465721 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 6 Jan 2004 14:51:10 -0500 Subject: [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: --- MANIFEST | 4 +++- config/powerpc-apple | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 config/powerpc-apple diff --git a/MANIFEST b/MANIFEST index cb0d5d6..4451004 100644 --- a/MANIFEST +++ b/MANIFEST @@ -6,7 +6,7 @@ # in column one with a '#'. #------------------------------------------------------------------------------ -./.autom4te.cfg _DO_NOT_DISTRIBUTE_ +./.autom4te.cfg _DO_NOT_DISTRIBUTE_ ./COPYING ./MANIFEST ./Makefile.dist @@ -65,6 +65,7 @@ ./config/linux-gnuaout ./config/linux-gnulibc1 ./config/linux-gnulibc2 +./config/powerpc-apple ./config/powerpc-ibm-aix4.x ./config/powerpc-ibm-aix5.x ./config/rs6000-ibm-aix4.x @@ -551,6 +552,7 @@ ./fortran/config/linux-gnuaout ./fortran/config/linux-gnulibc1 ./fortran/config/linux-gnulibc2 +./fortran/config/powerpc-apple ./fortran/config/powerpc-ibm-aix4.x ./fortran/config/powerpc-ibm-aix5.x ./fortran/config/rs6000-ibm-aix4.x diff --git a/config/powerpc-apple b/config/powerpc-apple new file mode 100644 index 0000000..a0c2aa2 --- /dev/null +++ b/config/powerpc-apple @@ -0,0 +1,34 @@ +# -*- 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 -- cgit v0.12