gfortran is not g95, correct this
[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 CMK_CF90=`which g95 2>/dev/null`
6 CMK_FPP="/lib/cpp -P -CC"
7 CMK_CF90="$CMK_CF90 -fpic"
8 CMK_CF90_FIXED="$CMK_CF90 -ffixed-form "
9 # find f90 librarya:  
10 #it can be at g95-install/lib/gcc-lib/i686-pc-linux-gnu/4.0.1
11 F90DIR=`which g95 2> /dev/null`
12 if test -h "$F90DIR"
13 then
14   F90DIR=`readlink $F90DIR`
15 fi
16 F90LIBDIR="`dirname $F90DIR`/../lib/*/*/*"
17 F90LIBDIR=`cd $F90LIBDIR && pwd`
18 CMK_F90LIBS="-L$F90LIBDIR -lf95 "
19 CMK_MOD_NAME_ALLCAPS=
20 CMK_MOD_EXT="mod"
21 CMK_F90_USE_MODDIR=1
22 CMK_F90_MODINC="-I"
23