From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jeremy chen Newsgroups: gmane.lisp.guile.user Subject: Unable to compile Guile Date: Sun, 9 Nov 2014 23:30:07 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a0bc60cc1140507799eed X-Trace: ger.gmane.org 1415601249 15527 80.91.229.3 (10 Nov 2014 06:34:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2014 06:34:09 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 10 07:34:02 2014 Return-path: Envelope-to: guile-user@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 1XniY2-0004xs-Nq for guile-user@m.gmane.org; Mon, 10 Nov 2014 07:33:58 +0100 Original-Received: from localhost ([::1]:41137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XniY2-0003qN-BX for guile-user@m.gmane.org; Mon, 10 Nov 2014 01:33:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XngcE-0002lt-FV for guile-user@gnu.org; Sun, 09 Nov 2014 23:30:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XngcD-0006Bb-Hx for guile-user@gnu.org; Sun, 09 Nov 2014 23:30:10 -0500 Original-Received: from mail-yk0-x234.google.com ([2607:f8b0:4002:c07::234]:59403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XngcD-0006B0-Dv for guile-user@gnu.org; Sun, 09 Nov 2014 23:30:09 -0500 Original-Received: by mail-yk0-f180.google.com with SMTP id 142so3144612ykq.11 for ; Sun, 09 Nov 2014 20:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HAiwAG58NnKVT4967uiRkyJ6GD5BG5io2lE/yElxQ7A=; b=Pd842jvGwOkKBmLUMQMeMBr9EnGge2IG4S3F7g/x+FyJI82ycenO0Gn5IudD5mFUI8 hGiFCHJyivTjKA+glSaDUH4F0ePy8b/jGr4R9UiaJJBApkbDPu5uUIM0kHxDBGnieSSi KkjhCPwG3MoxbxKmyZWSWxivVe1npOiJZ/bX5t55W80cTXVTskuEihEO2GRV/2ONRzzZ SOcVldc9FU8jsu8pQnjxfme121IENKEUhF6xqv2AQqnLj1jhS4UzMS0tEabcOonvVxU5 5YeGJSHJ75EsRxdQgAm9QLWAD05Ch3b3YV8Xj1FRxB+91uZQwf0OQCFnD6o3Tv43yoOj WsBQ== X-Received: by 10.236.2.170 with SMTP id 30mr27185619yhf.122.1415593807598; Sun, 09 Nov 2014 20:30:07 -0800 (PST) Original-Received: by 10.170.113.140 with HTTP; Sun, 9 Nov 2014 20:30:07 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::234 X-Mailman-Approved-At: Mon, 10 Nov 2014 01:33:46 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11627 Archived-At: --089e013a0bc60cc1140507799eed Content-Type: text/plain; charset=UTF-8 Hi, I am trying to compile guile on windows with Mingw-w64. The file libguile/numbers.c signal an error in this function: static SCM scm_i_inum2big (scm_t_inum x) { /* Return a newly created bignum initialized to X. */ SCM z = make_bignum (); #if SIZEOF_VOID_P == SIZEOF_LONG mpz_init_set_si (SCM_I_BIG_MPZ (z), x); #else /* Note that in this case, you'll also have to check all mpz_*_ui and mpz_*_si invocations in Guile. */ #error creation of mpz not implemented for this inum size #endif return z; } sizeof(void*) is 8 and sizeof(long) is 4 on my machine. Anyway to get around this? Thanks. --089e013a0bc60cc1140507799eed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, I am trying to compile guile on windows with Ming= w-w64.
The file libguile/numbers.c signal an error in this functi= on:

static SCM
scm_i_inum2big (scm_t_inu= m x)
{
=C2=A0 /* Return a newly created bignum initiali= zed to X. */
=C2=A0 SCM z =3D make_bignum ();
=C2=A0 #i= f SIZEOF_VOID_P =3D=3D SIZEOF_LONG
=C2=A0 =C2=A0 mpz_init_set_si = (SCM_I_BIG_MPZ (z), x);
=C2=A0 #else
=C2=A0 /* Note tha= t in this case, you'll also have to check all mpz_*_ui and
= =C2=A0 =C2=A0 =C2=A0mpz_*_si invocations in Guile. */
=C2=A0 #err= or creation of mpz not implemented for this inum size
=C2=A0 #end= if
=C2=A0 return z;
}

sizeof(v= oid*) is 8 and sizeof(long) is 4 on my machine.
Anyway to get aro= und this? Thanks.


--089e013a0bc60cc1140507799eed--