From: jeremy chen <yngccc@gmail.com>
To: guile-user@gnu.org
Subject: Unable to compile Guile
Date: Sun, 9 Nov 2014 23:30:07 -0500 [thread overview]
Message-ID: <CADti_BpxKspNkGpj2ic4HAMS70CUPJ0BSfYQh6kDkH+H6muPvg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 899 bytes --]
next reply other threads:[~2014-11-10 4:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 4:30 jeremy chen [this message]
2014-11-10 10:44 ` Unable to compile Guile Eli Zaretskii
2014-11-11 16:31 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADti_BpxKspNkGpj2ic4HAMS70CUPJ0BSfYQh6kDkH+H6muPvg@mail.gmail.com \
--to=yngccc@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).