Mail Archives: cygwin/2011/09/15/14:59:35
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=1.6 required=5.0 tests=AWL,BAYES_40,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
To: | cygwin AT cygwin DOT com
|
From: | Ted Byers <r DOT ted DOT byers AT gmail DOT com>
|
Subject: | Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?
|
Date: | Thu, 15 Sep 2011 18:58:50 +0000 (UTC)
|
Lines: | 42
|
Message-ID: | <loom.20110915T194950-750@post.gmane.org>
|
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> <4E7239CC DOT 9050209 AT cygwin DOT com>
|
Mime-Version: | 1.0
|
User-Agent: | Loom/3.14 (http://gmane.org/)
|
X-IsSubscribed: | yes
|
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
|
Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:
>
> On 9/15/2011 1:28 PM, Ted Byers wrote:
> > LMH<lmh_users-groups<at> molconn.com> writes:
>
> <snip>
>
> > 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.
>
Hi Larry,
Thanks
I installed only the gcc4 compilers (all of them, v4.5.3), but I didn't even
look for cross compilers.
What is the name of the cross compilers (would they be those that
include 'mingw' in the name? Not having installed, them, perhaps this is a
naive question, but will they live alongside the gcc4 compilers without the
names of the compilers clashing? I recalled something about mingw, but
thought that was a completely different approach to having gcc on Windows, and
in the versions included with RTools, the names of the programs there would
definitely collide with those for gcc4
Thanks again
Ted
--
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 -