Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jun 22 17:17:00 GMT 2016
On Jun 22 09:29, Warren Young wrote:
> On Jun 22, 2016, at 6:39 AM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> >
> >
> > may be is a piping problem, but there is no evidence; it could be a lot of different issues due to 64bit porting.
> > I will not be surprise if there is wrong assumption on data size.
>
> That’s my guess, too.
>
> 64-bit Windows is LLP64, while 64-bit Linux is LP64 on the same hardware.
s/Linux/Linux and Cygwin/
> That means that any binary protocol that uses C’s “long” data type
> will do the wrong thing on Cygwin, because it uses Windows’ data size
> rules for ABI compatibility with Windows.
>
> See https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
And https://cygwin.com/faq.html#faq.programming.64bitporting
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160622/e0226ea9/attachment.sig>
More information about the Cygwin
mailing list