diff options
author | Juan Manuel Guerrero <juan.guerrero@gmx.de> | 2017-11-14 19:07:12 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-11-14 19:07:12 +0200 |
commit | fe60f215f0dc446e39d69d4663cbb8c5ef406535 (patch) | |
tree | 90b0ba49024a2e812970d6f6a327aec3d1026b75 | |
parent | 3f5b8e508f0fcaba4447ed98193e2ea3b8560ad9 (diff) | |
download | egawk-fe60f215f0dc446e39d69d4663cbb8c5ef406535.tar.gz egawk-fe60f215f0dc446e39d69d4663cbb8c5ef406535.tar.bz2 egawk-fe60f215f0dc446e39d69d4663cbb8c5ef406535.zip |
Support building with MPFR in the DJGPP port.
-rw-r--r-- | README_d/ChangeLog | 4 | ||||
-rw-r--r-- | README_d/README.mpfr | 18 | ||||
-rw-r--r-- | pc/ChangeLog | 6 | ||||
-rw-r--r-- | pc/Makefile | 8 |
4 files changed, 36 insertions, 0 deletions
diff --git a/README_d/ChangeLog b/README_d/ChangeLog index 2b88d423..0bc75144 100644 --- a/README_d/ChangeLog +++ b/README_d/ChangeLog @@ -1,3 +1,7 @@ +2017-11-13 Juan Manuel Guerrero <juan.guerrero@gmx.de> + + * README.mpfr: Add info that DJGPP port compiles with MPFR support. + 2017-10-21 Arnold D. Robbins <arnold@skeeve.com> * README.os2: Updated with email from Andreas. diff --git a/README_d/README.mpfr b/README_d/README.mpfr index 892a22a1..ea787b6b 100644 --- a/README_d/README.mpfr +++ b/README_d/README.mpfr @@ -1,3 +1,21 @@ +2017-11-13 +========== +The DJGPP port of Gawk has been compiled and tested using the +following combinations of MPFR and GMP versions on FreeDOS and +other versions of the DOS operating system: +GNU MPFR 3.1.6, GNU MP 6.1.2 + +Precompiled binaries of GMP and MPFR for DJGPP are available +from DJ Delorie's ftp server and mirrors: + + http://www.delorie.com/pub/djgpp/current/v2gnu/gmp612b.zip + http://www.delorie.com/pub/djgpp/current/v2gnu/mpfr316b.zip + +No previous versions of these libraries are supported. +Newer versions should work. + +---- + Sat Mar 17 07:32:01 CDT 2012 ============================= diff --git a/pc/ChangeLog b/pc/ChangeLog index 51a71d95..155c9dc2 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,9 @@ +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. 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 ========================================= #======================================================================== |