diff options
Diffstat (limited to 'pc')
-rw-r--r-- | pc/ChangeLog | 10 | ||||
-rw-r--r-- | pc/Makefile | 8 | ||||
-rw-r--r-- | pc/Makefile.tst | 10 |
3 files changed, 24 insertions, 4 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog index bc1e3a3e..155c9dc2 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,13 @@ +2017-11-13 Juan Manuel Guerrero <juan.guerrero@gmx.de> + + * Makefile (default): Add a line for the djgpp-mpfr target. + (djgpp-mpfr): New target, passes -DHAVE_MPFR to the + compiler and adds -lmpfr -lgmp to the linker command line. + +2017-11-11 Juan Manuel Guerrero <juan.guerrero@gmx.de> + + * pc/Makefile.tst (sigpipe1): Exclude DJGPP from the sigpipe1 test. + 2017-11-03 Juan Manuel Guerrero <juan.guerrero@gmx.de> * Makefile (install1): Copy gawk.exe to awk.exe before copying diff --git a/pc/Makefile b/pc/Makefile index bdec371c..8b53cdaa 100644 --- a/pc/Makefile +++ b/pc/Makefile @@ -21,6 +21,8 @@ default: @echo "Enter $(MAK) target " @echo " where 'target' is chosen from " @echo " djgpp ... DOS 32-bit exe [GNU C, Delorie, v2] " + @echo " djgpp-mpfr . Like djgpp, but with MPFR " + @echo " [You will need to have GNU MPFR library installed.] " @echo " emx ..... OS/2 32-bit exe [emx/gcc; uses emxlibc.dll] " @echo " emxnt ... NT exe [emx/gcc with RSXNT] " @echo " emxbnd .. OS/2 and DOS 32-bit exe [emx/gcc] " @@ -125,6 +127,12 @@ djgpp-debug: LNK=LDJG LF2=-lm \ BIND=BDJG +djgpp-mpfr: + $(MAK) all \ + CC=gcc O=.o CF='-O2 -DHAVE_MPFR' \ + LNK=LDJG LF=-s LF2="-lmpfr -lgmp -lm" \ + BIND=BDJG + #======================================================================== #========================== EMX ========================================= #======================================================================== diff --git a/pc/Makefile.tst b/pc/Makefile.tst index 9c3ec144..3bbfcd7e 100644 --- a/pc/Makefile.tst +++ b/pc/Makefile.tst @@ -2294,10 +2294,12 @@ sclifin: @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ sigpipe1: - @echo $@ - @echo Expect sigpipe1 to fail with DJGPP. - @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ - @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + @case `uname` in \ + *MS-DOS*) echo This test fails on DJGPP --- skipping $@ ;; \ + *) \ + @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \ + esac sortempty: @echo $@ |