Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/gmp commit some note updates i wrote last aug...



details:   https://anonhg.NetBSD.org/src/rev/8eafc208b50a
branches:  trunk
changeset: 319516:8eafc208b50a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jun 01 21:46:18 2018 +0000

description:
commit some note updates i wrote last august.

diffstat:

 external/lgpl3/gmp/README |  23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diffs (51 lines):

diff -r ea4ce3d501e7 -r 8eafc208b50a external/lgpl3/gmp/README
--- a/external/lgpl3/gmp/README Fri Jun 01 21:22:43 2018 +0000
+++ b/external/lgpl3/gmp/README Fri Jun 01 21:46:18 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.7 2017/08/17 23:00:38 mrg Exp $
+$NetBSD: README,v 1.8 2018/06/01 21:46:18 mrg Exp $
 
 GMP in NetBSD.  We need GMP for GCC >= 4.2.
 
@@ -25,11 +25,11 @@
 
          some of these files might have src/obj references.  in particular
          fix GMP_MPARAM_H_SUGGEST to start from ./mpn/... and make sure
-         we #define __GMP_CC to "gcc -std=gnu99", and make sure that
+         we #define __GMP_CC to just "gcc", and make sure that
          CONFIG_TOP_SRCDIR is not defined in config.m4
 
-         XXX  make this automatic
-
+         the "Makefile.netbsd-gmp" has a "copy-files" target that performs
+         these tasks.
 
        - parse the ./configure output and note all created symlinks
          for mpn.  these need to be converted into a new Makefile.inc.
@@ -43,12 +43,15 @@
          used is m4 to parse, and we and create .s files from the .asm
          files that we then we feed into $CC.
 
-The amd64 port is a good reference to compare.
+         this part needs to be automated, but requires that the first
+         part's ./configure output be stored for it.  this is not done.
 
-This mips64* ports need some minor hacks to the generated gmp*.h
-files to fix their library builds for compat issues.  See these
-files in:
-       http://mail-index.netbsd.org/source-changes/2011/07/10/msg024467.html
+         it would be good to convert the Makefile.inc into a pair of
+         files -- srcs.mk generated from build-gmp-Makefile.inc.awk, and
+         the remaining static part of the Makefile.inc left with the
+         include of srcs.mk.
+
+The amd64 port is a good reference to compare.
 
 
 This is still a work in progress and methods used to build may be
@@ -56,4 +59,4 @@
 
 
 mrg%netbsd.org@localhost
-- 2011/06/22
+- 2017/08/22



Home | Main Index | Thread Index | Old Index