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 Subject: Re: Documentation on -mno-cygwin Accuracy Date: Tue, 07 Feb 2012 17:28:25 -0600 Lines: 29 Message-ID: References: <1328569526 DOT 8848 DOT 3 DOT camel AT YAAKOV04> <4F315473 DOT 8070106 AT gmail DOT com> <4F3180B1 DOT 7090007 AT aol DOT com> <20120207211251 DOT GF32219 AT calimero DOT vinschen DOT de> <4F31B073 DOT 9010501 AT arlut DOT utexas DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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