[CLN-list] win64 build

Robert Szalai robicjedi at gmail.com
Fri Feb 23 23:30:53 CET 2018


I had a patchset before to do just this. It was posted on this mailing
list, but as far as I can tell it was never merged.
There is a little more than just what you describe, because CLN uses the
least significant bits of pointers that would be zero due to alignment for
other things.


On Fri, Feb 23, 2018 at 8:41 PM, Jan Rheinländer <jrheinlaender at gmx.de>
wrote:

> Hi,
>
> I'm trying to create a win64 build of CLN. Most of the changes seem to
> involve replacing "unsigned long" with "uintptr_t" since "long" is 32bit
> in Win64.
>
> To make these changes useable for the community (by way of a git
> patch?), should I
>
> a) just go ahead and change
>
> b) put all the changes into a
>
> #if defined(_M_AMD64)
>   <changed code>
> #else
>   <original code>
> #endif
>
> I refer specifically to the "unsigned long" to "uintptr_t" changes, not
> to all changes in general. Is there any danger in doing this change on
> other platforms?
>
> Best regards,
>
>     Jan Rheinländer
>
>
> _______________________________________________
> CLN-list mailing list
> CLN-list at ginac.de
> https://www.cebix.net/mailman/listinfo/cln-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20180223/4298fb4e/attachment.html>


More information about the CLN-list mailing list