This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin paths in mingw64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]