[dpdk-dev] MinGW guide
dmitry.kozliuk at gmail.com
Mon Jun 15 02:48:00 CEST 2020
On Sat, 13 Jun 2020 10:55:14 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:
> The Windows user guide is referencing a general link to download MinGW:
> For those who want to install MinGW on Windows, I thing it is simpler
> to give this more direct link:
> It avoids hesitating between different bundles (Cygwin, Msys2, Win-Builds, etc).
Agreed, at least while no package manager is used.
I believe the most direct link would be this one:
> Then when installing mingw-w64-install.exe, a choice must be done
> between threads POSIX or Win32.
> If I understand well, POSIX must be chosen?
Yes. DPDK config/meson.build now links with pthread if linker is not link.exe.
Note that maybe this can be relaxed (test needed!), i. e. link with pthread
if it is found, otherwise use shim. Benefit, if this works: no runtime
dependency on "libwinpthread-1.dll" for Windows.
More information about the dev