Sorry typo: the LP64 data modell is valid for the cygwin64 toolchain. That
means long is 8 bytes.

2018-04-17 17:17 GMT+02:00 Carl Kleffner <[email protected]>:

> The 64-bit compiler within cygwin64 supports the ILP64 data model, see
> https://cygwin.com/cygwin-ug-net/programming.html
>
> 2018-04-17 17:12 GMT+02:00 Vincent Torri <[email protected]>:
>
>> On Tue, Apr 17, 2018 at 4:58 PM,  <[email protected]> wrote:
>> > Hi,
>> >
>> > Why is it that on our x86_64 compilers sizeof long is only 4 ?
>> > Does it absolutely have to be that way ? .... Would it be possible to
>> design
>> > a switch that would enable 8 byte longs ?
>> >
>> > The mismatch between linux and windows in this regard is a real pita,
>> and
>> > I'm curious about the reason(s) that it exists.
>> > (A link to relevant explanation would be fine.)
>>
>> https://msdn.microsoft.com/ro-ro/library/s3f49ktz.aspx
>> https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
>>
>> Vincent Torri
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Mingw-w64-public mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to