[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: Python port
From:       Guido van Rossum <guido () python ! org>
Date:       2000-02-26 16:17:56
[Download RAW message or body]

> By the way, there is no reason for the gmp source code to be available
> when building mpzmodule.
> 
>     mpz mpzmodule.c -lgmp
> 
> 
> --- Modules/mpzmodule.c.orig    Sat Feb 26 18:00:40 2000
> +++ Modules/mpzmodule.c Sat Feb 26 18:02:31 2000
> @@ -91,8 +91,9 @@
>  ** allocate it himself
>  */
>  
> -#include "gmp.h"
> -#include "gmp-mparam.h"
> +#include <gmp.h>
> +#define BITS_PER_MP_LIMB mp_bits_per_limb
> +extern int mp_bits_per_limb;
>  
>  #if __GNU_MP__ + 0 == 2
>  #define GMP2

Synchronicity?  This was just discussed briefly on the Python patches
list and a similar patch applied to the CVS source tree...

--Guido van Rossum (home page: http://www.python.org/~guido/)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic