www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/04/14:53:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4CD30110.9020704@cwilson.fastmail.fm>
Date: Thu, 04 Nov 2010 14:53:04 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
Reply-To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin paths in mingw64
References: <30132781 DOT post AT talk DOT nabble DOT com> <20101104151639 DOT GA12073 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20101104151639.GA12073@ednor.casa.cgf.cx>
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 11/4/2010 11:16 AM, Christopher Faylor wrote:
> On Thu, Nov 04, 2010 at 07:48:38AM -0700, LionAM wrote:
>> I have installed cygwin together with mingw64 (4.5.1-1).
...
>> Is there an compiler switch to make mingw use the cygwin environment?
> 
> No.  These are *MinGW* compilers.  They are supposed to create
> pure-windows executables.  That is their sole purpose.  There is no
> 64-bit version of Cygwin and, without a lot of head-standing, you'd need
> that to create a 64-bit application that understood Cygwin paths.

Actually, the OP hasn't really specified whether he is using the
*cygwin* provided mingw64 *cross compilers*, or if he has simply
installed the mingw64 *native* compilers from mingw-w64.sourceforge.net.

If the latter...well, why would you expect that a w64 native windows
compiler would ever be able to generate apps that use the cygwin
unix/posix services?

If the former...same thing, really.  The compiler generates NATIVE w64
code, and the generated code uses the W64 native windows runtime
services: NOT the cygwin runtime services.  The only real differences in
these two compilers is that the cygwin-hosted cross compiler can use
cygwin services during the BUILD process. But the generated executables
are, ideally, IDENTICAL to those created by a regular, normal, native
W64 compiler.

What it SEEMS the OP wants is a 64bit cygwin compiler.  There is no such
beast.  Sorry.

--
Chuck

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