[CLN-list] MinGW64 build

Robert Szalai robicjedi at gmail.com
Thu Aug 9 17:34:11 CEST 2012


Hi all,
I've been trying to build CLN from windows 64, with some success. It
compiles fine, but does not work.

The problem is that WIN64 is LLP64, and not ILP64 as Linux. CLN uses
long to store pointer data, but size_t or ssize_t should be used as it
is guaranteed to be the size of the pointer everywhere.

The attached patch was my attempt.

Could somebody tell me where else should I look? Pointers are also
encoding some metadata in the bits that are set to zero by alingnment,
what is this data? There is also some hashing of pointers.

Thanks,
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: curr.patch
Type: application/octet-stream
Size: 21753 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20120809/f70d3d5b/attachment-0001.obj>


More information about the CLN-list mailing list