for MacOSX Tiger gcc 64 bit
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 5 Jan 2006 05:46:56 +0000 (05:46 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 5 Jan 2006 05:46:56 +0000 (05:46 +0000)
src/arch/net-darwin-ppc/cc-cc64.h [new file with mode: 0644]
src/arch/net-darwin-ppc/cc-cc64.sh [new file with mode: 0644]
src/arch/net-darwin-ppc/conv-mach.sh

diff --git a/src/arch/net-darwin-ppc/cc-cc64.h b/src/arch/net-darwin-ppc/cc-cc64.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/arch/net-darwin-ppc/cc-cc64.sh b/src/arch/net-darwin-ppc/cc-cc64.sh
new file mode 100644 (file)
index 0000000..3868a0e
--- /dev/null
@@ -0,0 +1,13 @@
+COMMENTS="gcc 64bit for MacOSX Tiger"
+
+CMK_CC="cc -m64 -Wno-long-double -fPIC -dynamic -fno-common "
+CMK_CXX="c++ -m64 -Wno-long-double -fPIC -dynamic -fno-common "
+CMK_CXXPP="c++ -m64 -x c++ -E "
+CMK_LDXX="$CMK_CXX -multiply_defined suppress "
+CMK_QT="generic64-light"
+
+# Assumes IBM xlf90 compiler:
+CMK_CF77="f77 -qnocommon -qextname -qthreaded "
+CMK_CF90="f90 -qnocommon -qextname -qthreaded "
+CMK_CF90_FIXED="xlf90 -qnocommon -qextname -qthreaded -qsuffix=f=f"
+CMK_F90LIBS="-L/opt/ibmcmp/xlf/8.1/lib -lxlf90 -lxlopt -lxl -lxlfmath"
index 91595c0d493ef222da2366712b8df9dd2f970d7a..f4933056cbde53045aa3c5a7c4cdfac89e3f6389 100644 (file)
@@ -21,7 +21,7 @@ CMK_MOD_EXT="mod"
 # need -lstdc++ for c++ reference, and it needs to be put at very last 
 # of command line.
 # Mac environment varaible
-export MACOSX_DEPLOYMENT_TARGET=10.3
+test -z "$MACOSX_DEPLOYMENT_TARGET" && export MACOSX_DEPLOYMENT_TARGET=10.3
 CMK_SHARED_SUF="dylib"
 #CMK_LD_SHARED=" -dynamic -dynamiclib -undefined dynamic_lookup -flat_namespace "
 CMK_LD_SHARED=" -dynamic -dynamiclib -undefined dynamic_lookup "