From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: [PATCH 05/11] gnu: gmp: build shared library for mingw. Date: Sat, 14 May 2016 22:27:49 +0200 Message-ID: <87r3d49ygq.fsf@drakenvlieg.flower> References: <1462740169-15029-1-git-send-email-janneke@gnu.org> <1462740169-15029-6-git-send-email-janneke@gnu.org> <87bn4f3df0.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1gFR-0006wz-C1 for guix-devel@gnu.org; Sat, 14 May 2016 16:33:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1gFI-0007wr-Tp for guix-devel@gnu.org; Sat, 14 May 2016 16:33:16 -0400 In-Reply-To: <87bn4f3df0.fsf@igalia.com> (Andy Wingo's message of "Mon, 09 May 2016 09:20:51 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andy Wingo Cc: guix-devel@gnu.org Andy Wingo writes: >> + ,@(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. Okay, thanks. Yes, I can imagine that when we find that this change is needed for more packages/libraries we may want to make a function for it. Greetings, Jan --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20