delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.8 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4E7239CC.9050209@cygwin.com> |
Date: | Thu, 15 Sep 2011 13:45:48 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell? |
References: | <loom DOT 20110915T060405-768 AT post DOT gmane DOT org> <loom DOT 20110915T150817-936 AT post DOT gmane DOT org> <4910244359 DOT 20110915185240 AT mtu-net DOT ru> <4E721B17 DOT 5080004 AT molconn DOT com> <loom DOT 20110915T190625-475 AT post DOT gmane DOT org> |
In-reply-to: | <loom.20110915T190625-475@post.gmane.org> |
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 |
On 9/15/2011 1:28 PM, Ted Byers wrote: > LMH<lmh_users-groups<at> molconn.com> writes: <snip> >> I have compiled under >> cygwin g++ for a long time now and don't run into problems. Are you >> using the -mno-cygwin flag in your compile rules? I have two processes, >> where one is a child of the the processed that gets launched, but both >> are in c. Maybe it is better to address your issue in the c part of the >> application, possibly create a little c launcher app that will create >> the behavior you need. >> > What, exactly, does '-mno-cygwin' do? > > BTW: With gcc v 4.5.3, using 'G++ -mno-cygwin' followed by the other > commandline arguements needed to compile something results in an error where > it complains '-mno-cygwin' is no longer valid (I forget the exact wording, but > that is the gist of the error message I got). Right. '-mno-cygwin' is not a supported flag for gcc with version 4. It was there to allow a kind of cross compiler that targets Win32 instead of Cygwin. This is obviously not what you want anyway so it's of no consequence to you that the flag has been removed. :-) There are now actual cross compilers available in Cygwin for gcc 4 that serve the purpose of the old '-mno-cygwin' flag. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |