www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 4 Nov 2010 11:16:39 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin paths in mingw64 |
Message-ID: | <20101104151639.GA12073@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <30132781 DOT post AT talk DOT nabble DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <30132781.post@talk.nabble.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
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 Thu, Nov 04, 2010 at 07:48:38AM -0700, LionAM wrote: >I have installed cygwin together with mingw64 (4.5.1-1). Compiling in >principle works fine - however the programs are compiled for windows use, >not cygwin. One of the problems I experience is that one cannot use >cygwin-paths (e.g., /home/am/test.dat) within the programs, instead you have >to use the corresponding windows path (e.g., C:\Cygwin\home\am\test.dat). >However, the cygwin "make" sometimes uses cygwin paths or commands - so it >does not work well with the mingw64. > >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. cgf -- 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 |