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=Y32KNlyHG+An008C
	6er0JFKqB37Ug9er2qCnOwiczLyizToA6tLJ60xen47/avJ4TmgdteOJkiCom5eN
	QL86D4wVyAUn4gzl3xBn9c05HBKxrhizH4YeDMsSMtM0dOBqriyDjgOVdh2l8ZyX
	9QT5wfJCCcBdWWB0Yu2J6LKyX14=
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=BGxtgbjsdmkGs8NkiWvMkl
	fFq2k=; b=aGV5xUtsdWVHZqVu3XVL8ZT1cQDWdk3aQiZV+sFe86OcKnMpcQYam6
	NfZlXp+DoE2vMSTty6L1UIZx7dbTB1c0WjzyfgJZcEo3OGmiHfEgDoQTjvegrN8w
	vf+Mi0mbFBoBS9moTgPWOy6Wj1eGmgdn5PKefNM0HoMGPkr6dtdJk=
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=
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: <3c3b3ab6-919b-8bc5-8467-4218b898d7bd@SystematicSw.ab.ca>
Date: Wed, 22 May 2019 19:47:54 -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 executabe 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.

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

