for xlc 64 bit
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Mar 2009 08:46:15 +0000 (08:46 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Mar 2009 08:46:15 +0000 (08:46 +0000)
src/arch/multicore-linux-ppc/cc-xlc64.h [new file with mode: 0644]
src/arch/multicore-linux-ppc/cc-xlc64.sh [new file with mode: 0644]

diff --git a/src/arch/multicore-linux-ppc/cc-xlc64.h b/src/arch/multicore-linux-ppc/cc-xlc64.h
new file mode 100644 (file)
index 0000000..a67cb6b
--- /dev/null
@@ -0,0 +1,2 @@
+
+#define CMK_64BIT                                               1
diff --git a/src/arch/multicore-linux-ppc/cc-xlc64.sh b/src/arch/multicore-linux-ppc/cc-xlc64.sh
new file mode 100644 (file)
index 0000000..47d6395
--- /dev/null
@@ -0,0 +1,22 @@
+COMMENT="Enable 64-bit mode (-q64)"
+CMK_CC='xlc_r -q64 '
+CMK_CXX='xlC_r -q64 -qstaticinline '
+CMK_C_OPTIMIZE='-O3 -qstrict -Q!  '
+CMK_CXX_OPTIMIZE='-O3 -qstrict -Q! '
+CMK_LD="$CMK_CC "
+CMK_LDXX="$CMK_CXX "
+
+CMK_QT="aix"
+
+CMK_NATIVE_CC='xlc_r -q64'
+CMK_NATIVE_LD='xlc_r -q64'
+CMK_NATIVE_CXX='xlC_r -qstaticinline -q64'
+CMK_NATIVE_LDXX='xlC_r -q64'
+
+CMK_CF77='xlf_r -q64 '
+CMK_CF90='xlf90_r -q64 -qsuffix=f=f90' 
+CMK_CF90_FIXED='xlf90_r -q64 ' 
+
+CMK_AR='ar cq'
+CMK_NM='nm '
+CMK_CC64=true