delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:mime-version | |
:content-transfer-encoding; q=dns; s=default; b=tTUdVGeieTf9NttG | |
fA0khWFbSvsp72N5MyCQNDx+0//UldLwDLyJnGof/kSdoAkey2PnoyZxr33W9GYl | |
HsOLGgyIt5fySJMsQbUPOtsa0b//1Mck4CoW4/ILSrVxxizFxY5jL5NRXbZmMJfp | |
8bmMl8YoiI7el7FWSvB823GZp7Q= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:mime-version | |
:content-transfer-encoding; s=default; bh=hU7vpSXtHnz99INnKynyMD | |
sA928=; b=eOPfDLJKMpPgG399+C99joZOvs/k/tNkGhMpr3wCIQRmI2eSjCkMes | |
8JGF+8O6g1fZO18VGJrOV9xGqEnJ0ZQOXuzL83s3I83PcKZDtlKPD4otBX6+eA2N | |
775aD9FXaP92b8Vcbo7pwe9J8sAqmUQ0P5WVEPM2WOXXYuz9JiiXU= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.7 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=arguing, filing, HTo:D*t-online.de, evident |
X-HELO: | mga05.intel.com |
X-ExtLoop1: | 1 |
From: | "Soegtrop, Michael" <michael DOT soegtrop AT intel DOT com> |
To: | =?utf-8?B?SGFucy1CZXJuaGFyZCBCcsO2a2Vy?= <HBBroeker AT t-online DOT de>, |
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> | |
Subject: | RE: CR-LF handling behavior of SED changed recently - this breaks a lot of MinGW cross build scripts |
Date: | Fri, 9 Jun 2017 22:28:24 +0000 |
Message-ID: | <0F7D3B1B3C4B894D824F5B822E3E5A175B27070F@IRSMSX102.ger.corp.intel.com> |
References: | <0F7D3B1B3C4B894D824F5B822E3E5A175B2636E4 AT IRSMSX103 DOT ger DOT corp DOT intel DOT com> <a53282b6-d00c-aad8-76a6-26b4089a9623 AT redhat DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B26CE47 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <59399CC5 DOT 60900 AT tlinx DOT org> <417f84ac-5d9f-dc50-e912-973e90b8a128 AT redhat DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B26F278 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <34b26965-34c2-b5f0-a3f2-b2c3df344b08 AT gmail DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B270518 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <5313de97-d9bd-d9c9-cb4a-254a3eadcf4a AT redhat DOT com> <0F7D3B1B3C4B894D824F5B822E3E5A175B2705E9 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <76b29936-06a3-bfd1-0d6c-02c95034f9d5 AT t-online DOT de> |
In-Reply-To: | <76b29936-06a3-bfd1-0d6c-02c95034f9d5@t-online.de> |
dlp-product: | dlpe-windows |
dlp-version: | 10.0.102.7 |
dlp-reaction: | no-action |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id v59MSeqP016269 |
Dear Hans-Bernhard, > You're doing this via Cygwin, i.e. on a Windows machine, where MinGW is a > _native_ toolchain. That begs the question: why are you doing a cross build in > the first place? I simply couldn't find another way to build 50 configure / make style libraries and tools on Windows. If there is a method I haven't heard of, please let me know. MSYS and MSYS2 couldn't build a single of these libraries or tools without huge patches while doing the same on cygwin used to work out of the box. > So you shouldn't even be getting to any place where the output of a cross- > target (i.e. MinGW) executable is run on the build host, and its output piped > into a build platform (i.e. Cygwin) tool. I think it is quite common to build MinGW tools on cygwin and then run these MinGW tools from cygwin, e.g. for regression testing and to process their output in cygwin e.g. to get a test verdict. > That means what you're trying to argue here is that an evident short-coming of > some build setups should be fixed by breaking Cygwin pipes' mode of operation > for everyone. Sorry, but I don't see that happening. I think that arguing that one should not run MinGW programs from cygwin because they are entirely different operating systems and that a build system which does this has inherent short-comings is somehow neglecting reality. Why shouldn’t one do this is the only problem are CRs? I also didn't ask to mess up Cygwin's pipe system. All I ask for is that tools which are documented as text processing tools like sed have an environment option to be MinGW friendly. I think people who are using sed for binary files should use the -b option - if only to document that they are doing this intentionally. > > I don't see another way than having sed strip away the CRs. It doesn't > > make sense to build programs intended to be run under plain Windows > > such that they do not produce CRs. > > I believe it makes much more sense than you think. Hardly any Windows tool > worth using actually _needs_ those CRs in the first place. That is true - just, as I said many times, all these tools are out of my control and I do not want to tell people to open streams used for text output with "wb" just to get around pure Windows artefacts. Many people on this list said that the maintainers of such SW have every right to reject such change requests and I agree. Please think about what you are asking me here to do: filing 200 fairly useless change requests against 50 Linux centric tool and libraries. Sorry, I am not going to do this. I rather beg here to be MinGW friendly. Best regards, Michael Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |