version 1.11, 2016/10/11 15:22:05
|
version 1.12, 2016/10/11 17:04:48
|
Line 126 do
|
Line 126 do
|
P=$(($P+1)) |
P=$(($P+1)) |
done |
done |
|
|
|
if [ $(uname -o) = Cygwin ]; then |
|
RELOC= |
|
else |
|
RELOC=-fPIC |
|
fi |
|
|
if [ $COMPILATION_SEULE = "VRAI" ]; then |
if [ $COMPILATION_SEULE = "VRAI" ]; then |
echo +++Compiler for RPL/2 version @VERSION@ |
echo +++Compiler for RPL/2 version @VERSION@ |
gfortran -x c $ARGUMENTS_G77 -fPIC -Wall -DRPLCONFIG $OPTIONS $CFLAGS\ |
gfortran -x c $ARGUMENTS_G77 $RELOC -Wall -DRPLCONFIG $OPTIONS $CFLAGS\ |
-I$(which $0 | cut -d '/' -f -$(($P-1)))/include -funsigned-char\ |
-I$(which $0 | cut -d '/' -f -$(($P-1)))/include -funsigned-char\ |
-D_d_version_rpl=\"@VERSION@\" -std=gnu99 $RPLC_MAIN |
-D_d_version_rpl=\"@VERSION@\" -std=gnu99 $RPLC_MAIN |
else |
else |
echo +++Linker for RPL/2 version @VERSION@ |
echo +++Linker for RPL/2 version @VERSION@ |
gfortran $ARGUMENTS_G77 -shared -fPIC -Wall -DRPLCONFIG $OPTIONS \ |
gfortran $ARGUMENTS_G77 -shared $RELOC -Wall -DRPLCONFIG $OPTIONS \ |
$CFLAGS\ |
$CFLAGS\ |
-I$(which $0 | cut -d '/' -f -$(($P-1)))/include -funsigned-char\ |
-I$(which $0 | cut -d '/' -f -$(($P-1)))/include -funsigned-char\ |
$RPLC_MAIN |
$RPLC_MAIN |