31/01/2020 04:07, Dmitry Kozlyuk: > Instructions for different toolchains presented as options on the > corresponging steps of the guide, so that common parts may be reused. > > Signed-off-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com> [...] > --- a/doc/guides/windows_gsg/build_dpdk.rst > +++ b/doc/guides/windows_gsg/build_dpdk.rst > -The DPDK and its applications require the Clang-LLVM C compiler > -and Microsoft MSVC linker. > +Building the DPDK and its applications requires one of the following > +environments: > + > +* The Clang-LLVM C compiler and Microsoft MSVC linker. > +* The MinGW-w64 toolchain (either native or cross). [...] > +Option 1. Native Build on Windows > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -Specifying the compiler might be required to complete the meson command. > +When using Clang-LLVM, specifying the compiler might be required to complete > +the meson command: [...] > +When using MinGW-w64, it is sufficient to have toolchain executables in PATH: [...] > +Option 2. Cross-Compile with MinGW-w64 > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I think having the choice between GCC and Clang for Windows is very cool. When starting the Windows port, I asked the fundamental question of the supported compilers. The answer was MinGW adds "non-standard" DLLs: https://mails.dpdk.org/archives/dev/2019-January/124236.html Now the question is to know which one is the easiest to use? If I understand well, MinGW brings the missing parts we are trying to add in the DPDK repository for compliance with POSIX libraries.