Re: [dpdk-dev] [PATCH] eal/windows: use bundled getopt with MinGW

2020-09-28 Thread Kadam, Pallavi
On 9/24/2020 4:17 PM, Dmitry Kozlyuk wrote: Clang builds use getopt.c in librte_eal while MinGW provides implementation as part of the toolchain. Statically linking librte_eal to an application that depends on getopt results in undefined reference errors with MinGW. There are no such errors wit

[dpdk-dev] [PATCH] eal/windows: use bundled getopt with MinGW

2020-09-24 Thread Dmitry Kozlyuk
Clang builds use getopt.c in librte_eal while MinGW provides implementation as part of the toolchain. Statically linking librte_eal to an application that depends on getopt results in undefined reference errors with MinGW. There are no such errors with Clang, because with Clang librte_eal actually