[PATCH] support for mingw-w64

Ozkan Sezer sezeroz at gmail.com
Mon Sep 14 17:04:28 CEST 2009


On Mon, Sep 14, 2009 at 4:59 PM, Torbjorn Granlund <tg at gmplib.org> wrote:
> Ozkan Sezer <sezeroz at gmail.com> writes:
>
>  One note about it:  You are keeping the 0x prefix in your
>  patch but %p conversion is implementation dependant
>  and, for example on linux, the 0x prefix is already added.
>  Try running this:
>  #include <stdio.h>
>  int main (int argc, char **argv)
>  {
>    printf ("%p\n", (void *) argv);
>    return 0;
>  }
>
> Does the kernel Linux have a printf?  :-)
>

Eww, I meant GLIBC, sorry. But I can look at printk() of
the linux kernel if need be ;)


>  and support mingw-w64.  Thank you very much.
>
> This should prove my love for Windoze once and for all.  :-)
>
> The changes are now in the public repository, please see
> http://gmplib.org:8000/gmp/.
>
> --
> Torbjörn
>

Thanks again.

--
Özkan


More information about the gmp-devel mailing list