[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/11] gnu: gmp: build shared library for mingw.
From: |
Andy Wingo |
Subject: |
Re: [PATCH 05/11] gnu: gmp: build shared library for mingw. |
Date: |
Mon, 09 May 2016 09:20:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
On Sun 08 May 2016 22:42, Jan Nieuwenhuizen <address@hidden> writes:
> * gnu/packages/multiprecision.scm (gmp)[MINGW]: Use --enable-shared.
> ---
> gnu/packages/multiprecision.scm | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
> index 9924323..8c1a9b7 100644
> --- a/gnu/packages/multiprecision.scm
> +++ b/gnu/packages/multiprecision.scm
> @@ -3,6 +3,7 @@
> ;;; Copyright © 2014 Mark H Weaver <address@hidden>
> ;;; Copyright © 2015 Andreas Enge <address@hidden>
> ;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
> +;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -49,7 +50,13 @@
> '(;; Build a "fat binary", with routines for several
> ;; sub-architectures.
> "--enable-fat"
> - "--enable-cxx")))
> + "--enable-cxx"
> + ,@(cond ((mingw-target?)
> + ;; Static and shared cannot be built in one go:
> + ;; they produce different headers. We need
> shared.
> + `("--disable-static"
> + "--enable-shared"))
> + (else '())))))
> (synopsis "Multiple-precision arithmetic library")
> (description
> "GMP is a library for arbitrary precision arithmetic, operating on
LGTM. A bit of a shame that mingw is an abnormal architecture in this
way -- i.e. other targets will have both static and shared libraries,
but not this one. Oh well, this does look to be the right thing for
now.
- mingw guile.exe cross build patch series v8, Jan Nieuwenhuizen, 2016/05/08
- [PATCH 04/11] gnu: libunistring: support mingw: propagate libiconv if needed., Jan Nieuwenhuizen, 2016/05/08
- [PATCH 01/11] gnu: Add mingw-w64., Jan Nieuwenhuizen, 2016/05/08
- [PATCH 05/11] gnu: gmp: build shared library for mingw., Jan Nieuwenhuizen, 2016/05/08
- Re: [PATCH 05/11] gnu: gmp: build shared library for mingw.,
Andy Wingo <=
- [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Jan Nieuwenhuizen, 2016/05/08
- Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Andy Wingo, 2016/05/09
- Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Jan Nieuwenhuizen, 2016/05/14
- Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Andy Wingo, 2016/05/17
- Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Jan Nieuwenhuizen, 2016/05/17
- Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Andy Wingo, 2016/05/18
- Re: [PATCH 02/11] gnu: cross-build: i686-w64-mingw32: new cross target., Jan Nieuwenhuizen, 2016/05/19
[PATCH 06/11] gnu: ncurses: support mingw., Jan Nieuwenhuizen, 2016/05/08