unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Unable to compile Guile
@ 2014-11-10  4:30 jeremy chen
  2014-11-10 10:44 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: jeremy chen @ 2014-11-10  4:30 UTC (permalink / raw)
  To: guile-user

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-11 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10  4:30 Unable to compile Guile jeremy chen
2014-11-10 10:44 ` Eli Zaretskii
2014-11-11 16:31   ` Mark H Weaver

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).