fix gnu compilation error on Blue Gene/Q
[charm.git] / src / arch / portals-crayxt3 / conv-mach.sh
1 #CMK_DEFS="-I/opt/rs/1.8/mpich2-64/T/include "
2 #CMK_LD_DEFS="-L/opt/rs/1.8/mpich2-64/T/lib "
3
4 CMK_CPP_CHARM="/lib/cpp -P"
5 CMK_CPP_C="cc -E $CMK_DEFS "
6 CMK_CXXPP="CC -E $CMK_DEFS "
7 CMK_CC="cc -I/usr/include $CMK_DEFS "
8 CMK_CXX="CC  -I/usr/include $CMK_DEFS "
9 CMK_LD="$CMK_CC $CMK_LD_DEFS"
10 CMK_LDXX="$CMK_CXX $CMK_LD_DEFS"
11 CMK_LIBS="-lckqt"
12
13 CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
14
15 # compiler for compiling sequential programs
16 CMK_SEQ_CC="gcc "
17 CMK_SEQ_LD="gcc "
18 CMK_SEQ_CXX="g++ "
19 CMK_SEQ_LDXX="g++ "
20 CMK_SEQ_LIBS=""
21
22 # compiler for native programs
23 CMK_NATIVE_CC="gcc "
24 CMK_NATIVE_LD="gcc "
25 CMK_NATIVE_CXX="g++ "
26 CMK_NATIVE_LDXX="g++ "
27 CMK_NATIVE_LIBS=""
28
29 CMK_RANLIB="ranlib"
30 CMK_QT="generic64"
31
32 # for F90 compiler
33 CMK_CF77="ftn "
34 CMK_CF90="ftn "
35 CMK_F90LIBS=""
36 CMK_F90_USE_MODDIR=1
37 CMK_F90_MODINC="-p"
38
39 CMK_NO_BUILD_SHARED=true
40