Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-23 Thread Sam Steingold
> * Charles Wilson [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 the

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-22 Thread JonY
On 8/23/2011 06:18, Charles Wilson wrote: > 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:

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-22 Thread Charles Wilson
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

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-22 Thread Sam Steingold
> * JonY [2011-08-22 18:05:33 +0800]: > > On 8/22/2011 09:26, Sam Steingold wrote: >>> * Kai Tietz [2011-08-20 >>> 09:31:47 +0200]: >>> 2011/8/20 JonY : > /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:2922:26: > error: redeclaration of enumerator `WinRestrictedCodeSid' > /

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-22 Thread JonY
On 8/22/2011 09:26, Sam Steingold wrote: >> * Kai Tietz [2011-08-20 >> 09:31:47 +0200]: >> 2011/8/20 JonY : /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:2922:26: error: redeclaration of enumerator `WinRestrictedCodeSid' /usr/i686-w64-mingw32/sys-root/mingw/include/winnt

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-21 Thread Sam Steingold
> * Kai Tietz [2011-08-20 > 09:31:47 +0200]: > 2011/8/20 JonY : >>> /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:2922:26: >>> error: redeclaration of enumerator `WinRestrictedCodeSid' >>> /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:2681:413: note: >>> previous definition of `

Re: [Mingw-w64-public] i686-w64-mingw32-gcc & ntifs.h

2011-08-20 Thread Kai Tietz
2011/8/20 JonY : > On 8/20/2011 02:39, Sam Steingold wrote: >>> * Corinna Vinschen [2011-08-19 14:00:44 +0200]: >>> >>> On Aug 19 18:19, JonY wrote: On 8/19/2011 07:37, Sam Steingold wrote: >> * JonY [2011-08-19 06:39:03 +0800]: >> >> You are supposed to use -I to add the ddk pat

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-19 Thread JonY
On 8/20/2011 02:39, Sam Steingold wrote: >> * Corinna Vinschen [2011-08-19 14:00:44 +0200]: >> >> On Aug 19 18:19, JonY wrote: >>> On 8/19/2011 07:37, Sam Steingold wrote: > * JonY [2011-08-19 06:39:03 +0800]: > > You are supposed to use -I to add the ddk path to gcc. how? >

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-19 Thread Sam Steingold
> * Corinna Vinschen [2011-08-19 14:00:44 +0200]: > > On Aug 19 18:19, JonY wrote: >> On 8/19/2011 07:37, Sam Steingold wrote: >> >> * JonY [2011-08-19 06:39:03 +0800]: >> >> >> >> You are supposed to use -I to add the ddk path to gcc. >> > >> > how? >> > I mean, -Iddk does not work because I do

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-19 Thread JonY
On 8/19/2011 20:00, Corinna Vinschen wrote: > On Aug 19 18:19, JonY wrote: >> On 8/19/2011 07:37, Sam Steingold wrote: * JonY [2011-08-19 06:39:03 +0800]: You are supposed to use -I to add the ddk path to gcc. >>> >>> how? >>> I mean, -Iddk does not work because I do not have ddk di

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-19 Thread Corinna Vinschen
On Aug 19 18:19, JonY wrote: > On 8/19/2011 07:37, Sam Steingold wrote: > >> * JonY [2011-08-19 06:39:03 +0800]: > >> > >> You are supposed to use -I to add the ddk path to gcc. > > > > how? > > I mean, -Iddk does not work because I do not have ddk directory in my > > build directory. > > how do

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-19 Thread JonY
On 8/19/2011 07:37, Sam Steingold wrote: >> * JonY [2011-08-19 06:39:03 +0800]: >> >> You are supposed to use -I to add the ddk path to gcc. > > how? > I mean, -Iddk does not work because I do not have ddk directory in my > build directory. > how do I ask i686-w64-mingw32-gcc to print > /usr/i686

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-18 Thread Sam Steingold
> * JonY [2011-08-19 06:39:03 +0800]: > > You are supposed to use -I to add the ddk path to gcc. how? I mean, -Iddk does not work because I do not have ddk directory in my build directory. how do I ask i686-w64-mingw32-gcc to print /usr/i686-w64-mingw32/sys-root/mingw/include/ ?? thanks! -- Sam

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-18 Thread JonY
On 8/18/2011 23:44, Sam Steingold wrote: > Hi, > I cannot > #include > because /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntifs.h contains > #include > and actually lives in ddk, i.e., it should be > #include > after I aplly these two patches: > --- c:/gnu/cygwin/usr/i686-w64-mingw32/sys-

i686-w64-mingw32-gcc & ntifs.h

2011-08-18 Thread Sam Steingold
Hi, I cannot #include because /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntifs.h contains #include and actually lives in ddk, i.e., it should be #include after I aplly these two patches: --- c:/gnu/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h.old 2011-08-10 09:06:18.0