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 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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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