X-Recipient: archive-cygwin@delorie.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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=F+6TUBRlOgI781VW
	CbOlEb2sgbDCtN6lr3ppmNdhaoDgVy619jBTLkZcPEz0GXVUYdRh8RbgPo4W2PSY
	RK5+rmp6O0asj4slzXUoCqNnbjz8hqNjozdGHvCrpPzaY1YOS6mNlo2cvo1UuIKT
	7AmZqOxuk9ecBD4BHxlaFVFvx8k=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=BJJ180EJ7A/3ibWil1KROw
	+nqqo=; b=A6iPLENThwtT+H9QS6XVkiZj8rgABWIRFfqlNoV5A643wynWgx+4V+
	hRGkXu+jkzFpg37Hee1sflEWckdxkEZZtKTrg5ON2Mq4qoGBKHK97Kj106wMqdSc
	jyFqaoIfnUPjJmqvDKn23VGMVLNIxixdxdaRyOR0jk5tYPDpWZ1T8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1147
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: Is our use of Cygwin to build & run OpenOCD a good one?
To: cygwin@cygwin.com
References: <ad7a93aa-d688-d177-bdf2-d368f2acbbd0@mindchasers.com> <CACoZoo1Q=DyY0i-SFHjGmU8BeJgGCkTEfkYXJ32QGF63BxSoZQ@mail.gmail.com> <DB7PR01MB5386F37F1AA9DE324DF60E8EDE060@DB7PR01MB5386.eurprd01.prod.exchangelabs.com> <57b68911-8425-dd1a-95ee-ddb55b935f39@mindchasers.com> <1d4f0e40-737c-0a69-c995-e7b635b7bec6@gmail.com> <09ea056b-a9cf-5564-c2ed-4ad63be287a7@mindchasers.com> <548046265.20190523002828@yandex.ru>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Openpgp: preference=signencrypt
Message-ID: <566f78db-dee6-6718-62df-09548bdddb0d@SystematicSw.ab.ca>
Date: Wed, 22 May 2019 19:55:40 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <548046265.20190523002828@yandex.ru>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2019-05-22 15:28, Andrey Repin wrote:
> Bob Cochran wrote:
>> And I'm reluctant to install other translation projects on my PC like
>> MSYS2 and MinGW because of bloat, support, and security concerns. Try 
>> to keep it as simple as possible!
> In case of Cygwin and MinGW, all you would be installing is cross-compilers'
> toolchain.
> Then you run make from Cygwin, specifying correct target, and get a native
> Win32 executable at the end.

First you have to check that you have all the library build dependencies you
need available in mingw64-x86_64-... packages, and install them (they install
into /usr/x86_64-w64-mingw32/sys-root/mingw/{lib,include} directories), and the
related mingw64-x86_64-binutils, which go in the same tree, then configure the
build to use those cross-tools, similar to how you would do an ARM cross-build
on x86 Linux.

[tbird munged previous attempts to post - last try!]
-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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

