[ovs-dev] [PATCH RFC]: windows: cross-compile using mingw-w64 gcc.

Ben Pfaff blp at ovn.org
Fri Feb 14 00:20:14 UTC 2020


On Thu, Feb 13, 2020 at 04:08:20PM -0800, William Tu wrote:
> On Thu, Feb 13, 2020 at 3:50 PM Ben Pfaff <blp at ovn.org> wrote:
> >
> > On Tue, Feb 11, 2020 at 11:13:35AM -0800, William Tu wrote:
> > > Currently we use MSVC to compile OVS on Windows. The patch tries
> > > to cross-compile OVS for windows using gcc from mingw-w64.
> > > The patch still shows lots of warnings I haven't fixed, but now
> > > it can generate all the .exe and I tested on windows 10 (no kernel
> > > module).
> >
> > I'm enthusiastic about supporting fewer families of compilers.  MSVC is
> > very different from Clang and GCC.
> 
> Yes, it also makes the build process simpler.
> 
> One problem is that we have to compile the Windows kernel module, and
> it has to use MSVC.

That should be solvable, since the Windows kernel module is quite
separate from the rest of the OVS code.


More information about the dev mailing list