32 bit compiler configuration.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 26 Jan 2006 21:09:07 +0000 (21:09 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 26 Jan 2006 21:09:07 +0000 (21:09 +0000)
src/arch/net-linux-cell/conv-mach.h [new file with mode: 0644]
src/arch/net-linux-cell/conv-mach.sh [new file with mode: 0644]

diff --git a/src/arch/net-linux-cell/conv-mach.h b/src/arch/net-linux-cell/conv-mach.h
new file mode 100644 (file)
index 0000000..aeb99d6
--- /dev/null
@@ -0,0 +1,74 @@
+/*****************************************************************************
+ * $Source$
+ * $Author$
+ * $Date$
+ * $Revision$
+ *****************************************************************************/
+
+#ifndef _CONV_MACH_H
+#define _CONV_MACH_H
+
+#define CMK_CELL                                           1
+
+#define CMK_ASYNC_NOT_NEEDED                               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
+#define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
+#define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
+#define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 1
+
+#define CMK_GETPAGESIZE_AVAILABLE                          1
+
+#define CMK_IS_HETERO                                      1
+
+#define CMK_MALLOC_USE_GNUOLD_MALLOC                       0
+#define CMK_MALLOC_USE_GNU_MALLOC                          1
+#define CMK_MALLOC_USE_OS_BUILTIN                          0
+
+#define CMK_MEMORY_PAGESIZE                                8192
+#define CMK_MEMORY_PROTECTABLE                             0
+
+#define CMK_NODE_QUEUE_AVAILABLE                           0
+
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
+
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
+
+#define CMK_THREADS_USE_CONTEXT                            0
+
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           0
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
+
+#define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
+
+#define CMK_THREADS_REQUIRE_NO_CPV                         0
+#define CMK_THREADS_COPY_STACK                             0
+
+#define CMK_TIMER_USE_GETRUSAGE                            1
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_TYPEDEF_INT2 short
+#define CMK_TYPEDEF_INT4 int
+#define CMK_TYPEDEF_INT8 long
+#define CMK_TYPEDEF_UINT2 unsigned short
+#define CMK_TYPEDEF_UINT4 unsigned int
+#define CMK_TYPEDEF_UINT8 unsigned long
+#define CMK_TYPEDEF_FLOAT4 float
+#define CMK_TYPEDEF_FLOAT8 double
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
+
+#define CMK_LBDB_ON                                       1
+
+#define CMK_DEBUG_MODE                                     0
+#define CMK_WEB_MODE                                       0  
+
+
+#endif
+
diff --git a/src/arch/net-linux-cell/conv-mach.sh b/src/arch/net-linux-cell/conv-mach.sh
new file mode 100644 (file)
index 0000000..a779ec1
--- /dev/null
@@ -0,0 +1,27 @@
+CMK_CPP_CHARM='/usr/lib/cpp'
+CMK_CPP_C='ppu32-gcc -E'
+CMK_CXXPP='ppu32-g++ -E'
+CMK_CC='ppu32-gcc -fPIC -w '
+CMK_CXX='ppu32-g++ -fPIC -w '
+CMK_LD="$CMK_CC"
+CMK_LDXX="$CMK_CXX"
+
+CMK_RANLIB='ppu-ranlib'
+CMK_AR='ppu-ar -r'
+CMK_LIBS='-lckqt'
+CMK_LD_SHARED='-shared'
+
+CMK_SEQ_CC='ppu32-gcc -fPIC '
+CMK_SEQ_CXX='ppu32-g++ -fPIC '
+
+CMK_NATIVE_CC='gcc'
+CMK_NATIVE_LD='gcc'
+CMK_NATIVE_CXX='g++'
+CMK_NATIVE_LDXX='g++'
+
+CMK_CF77='xlf77_r'
+CMK_CF90='xlf90_r -qsuffix=f=f90'
+CMK_QT='aix32-gcc'
+CMK_XIOPTS=''
+CMK_F90LIBS=''
+CMK_MOD_EXT=''