delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/02/10:49:47

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=RU50lrBy/y9eIWUe8ps2Gf3mmnfoiI/PRDtxhiv4n2eH55ze9TsFs
7O7S/DqPDtZRY8sAId5T3d8eSL5RfpdcyGqcFkXB+F6rBaqmH/R5zfvlA+FiUIfn
M3eKAYnZw+WVCrNh8qq6zT6PqR6XElus4UcG6kub5QPJDFnj7OqHVE=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=teNwYuKc/Rj2DGDTSZltvv0mCsA=; b=m+FIl43UWoZsxsT7IHXtCJJmZyfH
bN1UFqFr7K8eWfdA/MKaNGF73cpUj/SVJNUj36mLLroOI4QC8RFXU0anftv4brI5
pnbhh9SDXMq4k5G5qdwWqQzlw1DMGubk/UaGrum8z6DhiUbXOefnAVjuCrP1wpNQ
E40jxJrps2en6Kw=
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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 2 Nov 2015 16:49:25 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: compile ncurses "hello world" to run independent of cygwin?
Message-ID: <20151102154925.GA8952@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5636D2C5 DOT 6020309 AT ehdp DOT com> <CAPbcu1PQOi4xTTHpbvc1UV_zoj5wpL=E_nRsPV=xQ0p6OLL1XQ AT mail DOT gmail DOT com> <56375B94 DOT 4060107 AT gmail DOT com> <CAGpXXZKySmMk3tcHwW_hBnJT+9abzMA_SjRk4McF0PLwHHqjxA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAGpXXZKySmMk3tcHwW_hBnJT+9abzMA_SjRk4McF0PLwHHqjxA@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov  2 10:14, Greg Freemyer wrote:
> On Mon, Nov 2, 2015 at 7:48 AM, cyg Simple <cygsimple AT gmail DOT com> wrote:
> > On 11/1/2015 11:09 PM, Darik Horn wrote:
> >>
> >> Unless there is a specific reason to cross through Cygwin, it could be
> >> easier to use the native MinGW environment directly:
> >>
> >> * http://www.mingw.org/wiki/Getting_Started
> >>
> >
> > Poppycock! There is no reason that the user couldn't use Cygwin as the
> > one and only system to build native binaries.
>=20
> I'm relatively new to this mailing list.  Apologies if this is well
> covered ground....
>=20
> The last time I checked (a few years ago), my understanding was the
> cygwin dll's were licensed such that any programs using them had to be
> GPL (or equivalent).

Yes, when linking against the Cygwin DLL there are GPL issues.

But that wasn't what "cyg Simple" was referring to.  The Cygwin distro
comes with a Mingw-w64 cross compiler and libs.  When you use those to
create Mingw binaries, you are not linking against the Cygwin DLL.

So, as "cyg Simple" wrote, there's no reason that you can't use the
Cygwin distro as environment to build non-Cygwin binaries.

There's also the fact that the aforementioned mingw.org project is
rather behind.  The Mingw-w64 fork (which is used by Cygwin as well,
incidentally) is more up to speed in terms of WIndows lib and header
file support.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWN4YFAAoJEPU2Bp2uRE+gtk8P/Ar+NOdDxPZRxkkGw1ghg/oS
CuvrFQ41HkDgic2afuhujDzCO8eP0ECUggv9QJegzMM65cFD0ItQ48a8XLMLOZeZ
05ciJhM2myggXsSks8RbrnnsGU7IUHKveUPpOf4vUlgW7IHxlY+0ixVr10GxZeYc
Cq9vSIXIVIqL8MMWuOSrz5/27z4gTC0YoDd1qpGTGnge6RKyxe2Rox9Hs+Fl8AKN
Y4lUq8WX4NbO/pjTz2HntyMRjscHMqpWNz5laTgK+ZSaHLAyxv/UkpaxQ9uSclOz
/StQSBIWtJtDVOGFDucM/48dci+DTPPXkbyOQgpNPTDZ8RTKt5FoqUKPddw5gx9g
7xQJ2g7NlX/h7exnuoVaLbKdMx8qrOAP3ybPQpoJmFS5obsnCrA+Uqe0O5NE2dS7
f6qctdhv8o14Gf6Xt5FUsICUqUNv9/JMWCKDjp7FoljTcl144vu4/AEAAvzeQOfW
O5lDzqz1Ru5/saaxEdxDkzbzsRw5fQgOo1Gm9OviSHjJTn6UyI+mSeh7Esmv+CLT
iKjnheX7pKA2/69g9ittZs02D/3Tcg9tJwlqwWh5anR3ZkuMbWN+dsxoPaRxaTxb
K1ii9Uzu7Bb0c5FRswC/Gfot3oJCu/kpPyPed8DfdhAuXK6HOpnN5bCUJdIVdrh/
CuMxjShA3qYFwH+C2v2r
=5wB/
-----END PGP SIGNATURE-----

--PEIAKu/WMn1b1Hv9--

- Raw text -


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