added -fno-second-underscore to make it conform to what rocstar wants
[charm.git] / src / arch / common / conv-mach-g95.sh
1 # GNU f95
2
3 CMK_CC="$CMK_CC -DCMK_G95"
4 CMK_CXX="$CMK_CXX -DCMK_G95"
5
6 CMK_CF90=`which g95 2>/dev/null`
7 CMK_FPP="/lib/cpp -P -CC"
8 CMK_CF90="$CMK_CF90 -fpic -fno-second-underscore -fdollar-ok"
9 CMK_CF90_FIXED="$CMK_CF90 -ffixed-form "
10 # find f90 librarya:  
11 #it can be at g95-install/lib/gcc-lib/i686-pc-linux-gnu/4.0.1
12 F90DIR=`which g95 2> /dev/null`
13 if test -h "$F90DIR"
14 then
15   F90DIR=`readlink $F90DIR`
16 fi
17 F90LIBDIR="`dirname $F90DIR`/../lib/*/*/*"
18 F90LIBDIR=`cd $F90LIBDIR && pwd`
19 CMK_F90LIBS="-L$F90LIBDIR -lf95 "
20 CMK_MOD_NAME_ALLCAPS=
21 CMK_MOD_EXT="mod"
22 CMK_F90_USE_MODDIR=1
23 CMK_F90_MODINC="-I"
24