Windows driver development without using Microsoft compiler

My team has a C-language codebase, which is used on several embedded systems of different platforms. We have a group of people who are trying to transfer part of this code base to the Windows driver. However, some aspects of the Microsoft compiler are not related to our existing code base (among other things, the C99 function). We are trying to maintain a common code base between products and avoid creating forks for certain platforms, but the number of workarounds for Windows is #ifdefsbecoming messy.

Is there a way to create a Windows driver using a compiler other than Microsoft? Our code base compiles under gccGreenHills, and we must also use the Intel C compiler on it (it has been a while since we tried, but it should work anyway). The possibility of using another compiler would help improve our code, plus it will save us time and effort. All the documentation we could find relates to using Visual Studio or the Windows DDK.

If a Microsoft compiler or DDK is really required, is it possible to build the bulk of our code as a static library using another compiler, and then use the DDK to create a wrapper around this library?

+3
source share
1

​​, . . , , WDK ( VS2012). MS -WDK ( VS VS2012) .

MS one. " ", " ". , , (, C99, MS), .

+1

All Articles