guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to compile Guile


From: jeremy chen
Subject: Unable to compile Guile
Date: Sun, 9 Nov 2014 23:30:07 -0500

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]