delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/22/21:55:54

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: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 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-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 DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Is our use of Cygwin to build & run OpenOCD a good one?
To: cygwin AT cygwin DOT com
References: <ad7a93aa-d688-d177-bdf2-d368f2acbbd0 AT mindchasers DOT com> <CACoZoo1Q=DyY0i-SFHjGmU8BeJgGCkTEfkYXJ32QGF63BxSoZQ AT mail DOT gmail DOT com> <DB7PR01MB5386F37F1AA9DE324DF60E8EDE060 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <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>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT 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>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019