delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/07/18:29:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: carolus <worwor AT bellsouth DOT net>
Subject: Re: Documentation on -mno-cygwin Accuracy
Date: Tue, 07 Feb 2012 17:28:25 -0600
Lines: 29
Message-ID: <jgsc2t$kce$1@dough.gmane.org>
References: <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A AT mail DOT gmail DOT com> <1328569526 DOT 8848 DOT 3 DOT camel AT YAAKOV04> <jgrik0$6k3$1 AT dough DOT gmane DOT org> <4F315473 DOT 8070106 AT gmail DOT com> <jgrtto$7g5$1 AT dough DOT gmane DOT org> <4F3180B1 DOT 7090007 AT aol DOT com> <jgs0ff$t8j$1 AT dough DOT gmane DOT org> <20120207211251 DOT GF32219 AT calimero DOT vinschen DOT de> <jgs7nl$l1k$1 AT dough DOT gmane DOT org> <4F31B073 DOT 9010501 AT arlut DOT utexas DOT edu>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <4F31B073.9010501@arlut.utexas.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 2/7/2012 5:14 PM, Jesse Ziser wrote:

>
> Well, if you don't want them to have to install Cygwin, then that's a
> bigger issue than just licensing. Think of Cygwin like an OS. If you
> want to create something that can run under Windows, not Cygwin, then
> you have to build it for Windows, not Cygwin. I don't know that it is
> even possible to simply "bundle" Cygwin with your application. Cygwin
> isn't just some little collection of libraries or something. It's a
> whole system that must be correctly installed on someone's computer.
>
> If you really want Mingw (a free compiler and development environment
> for Windows), maybe what you should do is just download and install
> Mingw, and use that, instead of doing it through the Cygwin compiler
> using a barely-supported option. (Then you should get help with any
> problems you have over at Mingw's website instead of here.)
>

Building with mingw used to be as simple as adding the -mno-cygwin 
compiler flag.  I know mingw is a separate application, but cygwin's 
setup.exe took care of the installation, and -mno-cygwin took care of 
the invocation.  From the standpoint of the dumb engineer, it was just a 
matter of a compiler option in a standard cygwin installation.

It appears that all of that is still possible, not quite as easy but 
still easy enough, as Marco Atzeri explained.





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