> * Charles Wilson <plt...@pjvyfba.snfgznvy.sz> [2011-08-22 18:18:45 -0400]: > > On 8/22/2011 5:13 PM, Sam Steingold wrote: >> PS. Why are cygwin/mingw and msys/mingw so different? > > They are not different. In fact, 'cygwin/mingw.org' and 'msys/mingw.org' > are identical (except for the emulation environment under which they > run: msys vs. cygwin). > > You're confused by the existence of the separate "mingw64" project. > > There are three different "flavors" of mingw-ish compilers: > 1. mingw.org (32bit only) > > 2. mingw64.sf.net > a) 32bit > b) 64bit > > Cygwin provides cross-compiler toolchains for each of these three "flavors": > > 1) i686-pc-mingw32-gcc > 2a) i686-w64-mingw32-gcc > 2b) x86_64-w64-mingw32-gcc
OK, thanks. The bottom line is that I should stick with i686-pc-mingw32-gcc and forget the others even exist. Cool. Now, $ egrep -r '#define *STATUS_SUCCESS' /usr/*-mingw32/sys-root/mingw/include/ /usr/i686-pc-mingw32/sys-root/mingw/include/ddk/ntstatus.h:#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) /usr/i686-pc-mingw32/sys-root/mingw/include/ntdef.h:#define STATUS_SUCCESS ((NTSTATUS)0) /usr/i686-pc-mingw32/sys-root/mingw/include/subauth.h:#define STATUS_SUCCESS 0 /usr/i686-w64-mingw32/sys-root/mingw/include/ntstatus.h:#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) /usr/i686-w64-mingw32/sys-root/mingw/include/subauth.h:#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) /usr/x86_64-w64-mingw32/sys-root/mingw/include/ntstatus.h:#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) /usr/x86_64-w64-mingw32/sys-root/mingw/include/subauth.h:#define STATUS_SUCCESS ((NTSTATUS)0x00000000L) Which one should I include for STATUS_SUCCESS: ddk/ntstatus or ntdef? (I am using i686-pc-mingw32-gcc now exclusively). Note that both w64 versions have ntstatus.h in the right place (defined as the place where visual studio places it). Is this a known bug in mingw? Will it be fixed? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://openvotingconsortium.org http://jihadwatch.org http://palestinefacts.org http://www.memritv.org http://mideasttruth.com http://ffii.org Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. -- 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