public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2
Date: Wed, 22 Jun 2016 17:17:00 -0000	[thread overview]
Message-ID: <20160622153652.GB15373@calimero.vinschen.de> (raw)
In-Reply-To: <0FB21113-2A8C-4C63-9889-C0E3254C6E5A@etr-usa.com>

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-06-22 15:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <953793912.12352673.1466549681179.JavaMail.yahoo.ref@mail.yahoo.com>
2016-06-21 23:12 ` lloyd.wood
2016-06-22  1:35   ` Warren Young
2016-06-22 11:46   ` lloyd.wood
2016-06-22 15:30     ` Marco Atzeri
2016-06-22 16:02       ` Warren Young
2016-06-22 17:17         ` Corinna Vinschen [this message]
2016-06-22 18:06           ` Warren Young
2016-06-22 18:40             ` Corinna Vinschen
2016-06-24  7:57               ` cyg Simple
2016-06-24 22:56                 ` Corinna Vinschen
     [not found] <1989991589.1040675.1465521483978.JavaMail.yahoo.ref@mail.yahoo.com>
2016-06-10  1:55 ` lloyd.wood
2016-06-21  1:44   ` Jon Turney
2016-06-21  7:48     ` Piping on 64-bit Cygwin was " lloyd.wood
2016-06-21 22:19       ` Warren Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160622153652.GB15373@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).