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:subject:reply-to:to:references:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=dMEYVpWjWmfZQHY6 FNqfodhlymPIvQ8g29DDcqXw8tyV5SI0rA2dBXSGJ7TKREh99lB8+6op8wqPs+A9 1S6mJVYD1MhChGLH4apjL3mKTZruzBQTbTTsWs5pSU/+EorgmaJO6F4rOpbvdtLf t5gzaq59atqHmj5KN0gl4oV8cd4= 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:subject:reply-to:to:references:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=hrsArzD9dRxyMO0DVM0ofU G96Hk=; b=u0iXNxxbYsgvdPISD5OT8mOpgabnIFr0YRYEWiJ6BkEWzUyotIVRWS hJtvZSgGGUn4Lf8bG21L3mDMo6of5W4wUI2xz8umg128ck5mZ7n77lkXPlhXiJH7 5o9Pv24qXUjicKF56pXeLQUaQNQm5r/5gioKyi82f0vKvwF+zj8Ww= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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:1145 X-HELO: smtp-out-so.shaw.ca From: Brian Inglis Subject: Re: Is our use of Cygwin to build & run OpenOCD a good one? Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca To: cygwin AT cygwin DOT com References: <57b68911-8425-dd1a-95ee-ddb55b935f39 AT mindchasers DOT com> <1d4f0e40-737c-0a69-c995-e7b635b7bec6 AT gmail DOT com> <09ea056b-a9cf-5564-c2ed-4ad63be287a7 AT mindchasers DOT com> <548046265 DOT 20190523002828 AT yandex DOT ru> Openpgp: preference=signencrypt Message-ID: Date: Wed, 22 May 2019 19:52:10 -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 attempt to post - retrying...] -- 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