[dpdk-dev] Compiler for Windows
Jason Messer
jmesser at microsoft.com
Thu Jan 3 18:10:05 CET 2019
+Jeffrey, Manasi
We will get the most traction from the Windows developer community if we use msvc. The only thing preventing that last time was GNU extensions used in DPDK source which were not ISO C standards compliant. We were also experimenting with Clang/LLVM running natively on Windows host but ran into a bunch of issues (maybe others made further progress?). GCC using Windows Subsystem for Linux (WSL) would be an interesting option and could be a secondary option for MSVC for Windows developers.
Jason
-----Original Message-----
From: Stephen Hemminger <stephen at networkplumber.org>
Sent: Wednesday, January 2, 2019 10:33 PM
To: 'Thomas Monjalon' <thomas at monjalon.net>; Jason Messer <jmesser at microsoft.com>; Harini Ramakrishnan <Harini.Ramakrishnan at microsoft.com>; Omar Cardona <ocardona at microsoft.com>; 'Ranjit Menon' <ranjit.menon at intel.com>
Cc: 'Mattias Rönnblom' <mattias.ronnblom at ericsson.com>; 'Jeff Shaw' <jeffrey.b.shaw at intel.com>; dev at dpdk.org
Subject: RE: Compiler for Windows
What about Gcc under the WSL thing (ie Linux emulation in Windows).
Much better than Cygwin type stuff.
-----Original Message-----
From: Thomas Monjalon <thomas at monjalon.net>
Sent: Wednesday, January 2, 2019 2:45 PM
To: Jason Messer <jmesser at microsoft.com>; Harini Ramakrishnan <harini.ramakrishnan at microsoft.com>; Omar Cardona <ocardona at microsoft.com>; Ranjit Menon <ranjit.menon at intel.com>
Cc: Mattias Rönnblom <mattias.ronnblom at ericsson.com>; Jeff Shaw <jeffrey.b.shaw at intel.com>; stephen at networkplumber.org; dev at dpdk.org
Subject: Compiler for Windows
Hi,
We need to gather inputs about the pros/cons of the C compilers available for Windows.
Interesting criterias could be:
- ease of use
- availability
- standards compliance
- performance
When the comparison will be complete, we should publish it in the doc/ directory, while porting DPDK to Windows.
I start with few data:
* gcc|clang on cygwin
- not native
* gcc/mingw
* gcc/mingw-w64
* clang/mingw-w64
* clang --target=x86_64-windows-msvc
* icc
- not freely available
* msvc
- native
- specific command line
- not C99
More information about the dev
mailing list