--- rpl/scripts/mkrplso.in 2016/10/11 17:04:48 1.12 +++ rpl/scripts/mkrplso.in 2016/10/12 09:14:16 1.13 @@ -105,6 +105,7 @@ test $PROCESSEUR = i386 && OPTIONS=-miee test $PROCESSEUR = i486 && OPTIONS=-mieee-fp test $PROCESSEUR = i586 && OPTIONS=-mieee-fp test $PROCESSEUR = i686 && OPTIONS=-mieee-fp +test $PROCESSEUR = x86_64 && OPTIONS=-mieee-fp test $PROCESSEUR = alpha && OPTIONS=-mieee test $PROCESSEUR = sparc && OPTIONS= test $PROCESSEUR = i86pc && OPTIONS= @@ -128,8 +129,10 @@ done if [ $(uname -o) = Cygwin ]; then RELOC= + EXE_A=$(which rpl)/../lib/rpl.exe.a else RELOC=-fPIC + EXE_A= fi if [ $COMPILATION_SEULE = "VRAI" ]; then @@ -139,8 +142,8 @@ if [ $COMPILATION_SEULE = "VRAI" ]; then -D_d_version_rpl=\"@VERSION@\" -std=gnu99 $RPLC_MAIN else echo +++Linker for RPL/2 version @VERSION@ - gfortran $ARGUMENTS_G77 -shared $RELOC -Wall -DRPLCONFIG $OPTIONS \ - $CFLAGS\ + gfortran $ARGUMENTS_G77 $EXE_A -shared $RELOC -Wall -DRPLCONFIG $OPTIONS\ + $LDFLAGS\ -I$(which $0 | cut -d '/' -f -$(($P-1)))/include -funsigned-char\ $RPLC_MAIN fi