On Sun, Sep 19, 2010 at 1:11 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > On Sun, Sep 19, 2010 at 4:54 PM, Ozkan Sezer <seze...@gmail.com> wrote: >>>> I said that assuming mingw-w64 was following MS. Ozkan where >>>> does usb.h live in MS's SDK stack? >>> >> >> Dongsheng Song is correct that WDK has it in the "api" >> directory which is the sdk counterpart in their standalone >> ddk package. (WDK has several directories of headers, >> api ddk, crt, etc.) > > Yes WDK has several directories of headers. Apparently > "api" sub-directory is more than the "SDK counterpart" > since it includes many files not included in the SDK. >
The point is, the "api" subdirectory also contains windows.h, etc, which are psdk headers. >>> I see. So you are saying those files inside MS' SDK will be >>> directly under MinGW-w64 include directory. Those not inside >>> MS' SDK should probably not be directly under the MinGW-w64 >>> include directory, but rather a sub-directory. Right? >>> >> >> Well, not as easy, see above. >> > > I just want to know the policy of MinGW-w64. Do you > want to follow MS SDK or MS WDK api sub-directory? > > Take note that most of the MSVC software developers use the > MSVC include file and the MS SDK include files, not the WDK > include files. The WDK is more for kernel driver developers. If we want to distribute headers which are in the api subdir of the wdk, then we have to put them in the main includes for the reason I mentioned above. Even if we invent another package like mingw-w64-ddk, it has to be in the main includes again. MS handles those different directories by using some include environment variables (I think...) However, mingw or mingw-w64 do not do such a thing. I, myself, can't see an easy solution here. > > > -- > Xiaofan > -- Ozkan ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public