X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 4 Nov 2010 11:16:39 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin paths in mingw64
Message-ID: <20101104151639.GA12073@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <30132781.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <30132781.post@talk.nabble.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

