From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128773 invoked by alias); 2 Nov 2015 15:49:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 128760 invoked by uid 89); 2 Nov 2015 15:49:31 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Nov 2015 15:49:30 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3ACD9A803FA; Mon, 2 Nov 2015 16:49:25 +0100 (CET) Date: Mon, 02 Nov 2015 15:49:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: compile ncurses "hello world" to run independent of cygwin? Message-ID: <20151102154925.GA8952@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5636D2C5.6020309@ehdp.com> <56375B94.4060107@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-11/txt/msg00037.txt.bz2 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1530 On Nov 2 10:14, Greg Freemyer wrote: > On Mon, Nov 2, 2015 at 7:48 AM, cyg Simple 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 Content-length: 819 -----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--