From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#10519: guile and (mini-)gmp Date: Sun, 22 Jul 2012 11:00:28 +0200 Message-ID: <874np05fwz.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342947700 11137 80.91.229.3 (22 Jul 2012 09:01:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2012 09:01:40 +0000 (UTC) Cc: 10519@debbugs.gnu.org, Torbjorn Granlund To: nisse@lysator.liu.se (Niels =?UTF-8?Q?M=C3=B6ller?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Jul 22 11:01:39 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sss2l-0005Wk-ED for guile-bugs@m.gmane.org; Sun, 22 Jul 2012 11:01:39 +0200 Original-Received: from localhost ([::1]:36995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sss2k-0007jf-QI for guile-bugs@m.gmane.org; Sun, 22 Jul 2012 05:01:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sss2h-0007jY-QX for bug-guile@gnu.org; Sun, 22 Jul 2012 05:01:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sss2g-0005Km-Qi for bug-guile@gnu.org; Sun, 22 Jul 2012 05:01:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sss2g-0005Ki-NU for bug-guile@gnu.org; Sun, 22 Jul 2012 05:01:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sss8v-0001dZ-IH for bug-guile@gnu.org; Sun, 22 Jul 2012 05:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 22 Jul 2012 09:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10519 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10519-submit@debbugs.gnu.org id=B10519.13429480226225 (code B ref 10519); Sun, 22 Jul 2012 09:08:01 +0000 Original-Received: (at 10519) by debbugs.gnu.org; 22 Jul 2012 09:07:02 +0000 Original-Received: from localhost ([127.0.0.1]:56816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sss7y-0001cM-0K for submit@debbugs.gnu.org; Sun, 22 Jul 2012 05:07:02 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:47126) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sss7v-0001bw-5X for 10519@debbugs.gnu.org; Sun, 22 Jul 2012 05:07:00 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id ABD6085B3; Sun, 22 Jul 2012 11:00:30 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OqVhI3VZtOM6; Sun, 22 Jul 2012 11:00:30 +0200 (CEST) Original-Received: from pluto (ip-62-143-217-138.unitymediagroup.de [62.143.217.138]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 4FE4E1D5; Sun, 22 Jul 2012 11:00:30 +0200 (CEST) In-Reply-To: ("Niels \=\?iso-8859-1\?Q\?M\=F6ller\=22's\?\= message of "Sun, 15 Jan 2012 22:22:16 +0100") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6455 Archived-At: Hello! Reviving the discussion, as we=E2=80=99ve been discussing this at the GHM, = and some people would really like to see it happen. :-) nisse@lysator.liu.se (Niels M=C3=B6ller) skribis: > To try that out, I'm working with a slightly patched guile: Do you still have the patch around? > 1. The header file libguile.h. As far as I understand, this is a public > header file and it's use of means that the public guile ABI > depends on gmp. The problem is that there=E2=80=99s a public API dealing with mpz_t: SCM_API void scm_to_mpz (SCM x, mpz_t rop); SCM_API SCM scm_from_mpz (mpz_t rop); So, when mini-gmp is used, a header should be installed as well, say under . WDYT? > Since mini-gmp is not binary compatible, I don=E2=80=99t think there=E2=80=99s a problem, because only mpz_t objects= appear in the API, and they=E2=80=99re pointers. > 4. mini-gmp has no mp_set_memory_functions. So apparently you eventually added them, thanks! Thanks, Ludo=E2=80=99.