> On Jan 3, 2019, at 11:10 AM, Jason Messer <jmes...@microsoft.com> wrote:
> 
> +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.
> 

I thought the constructor/deconstructor support is also not in MSVC. We use 
constructors a lot in DPDK and creating a method to remove them from DPDK is 
going to be a fair amount of work. Adding function calls to an init routine is 
not a good option.
> Jason
> 
> -----Original Message-----
> From: Stephen Hemminger <step...@networkplumber.org> 
> Sent: Wednesday, January 2, 2019 10:33 PM
> To: 'Thomas Monjalon' <tho...@monjalon.net>; Jason Messer 
> <jmes...@microsoft.com>; Harini Ramakrishnan 
> <harini.ramakrish...@microsoft.com>; Omar Cardona <ocard...@microsoft.com>; 
> 'Ranjit Menon' <ranjit.me...@intel.com>
> Cc: 'Mattias Rönnblom' <mattias.ronnb...@ericsson.com>; 'Jeff Shaw' 
> <jeffrey.b.s...@intel.com>; dev@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 <tho...@monjalon.net>
> Sent: Wednesday, January 2, 2019 2:45 PM
> To: Jason Messer <jmes...@microsoft.com>; Harini Ramakrishnan 
> <harini.ramakrish...@microsoft.com>; Omar Cardona <ocard...@microsoft.com>; 
> Ranjit Menon <ranjit.me...@intel.com>
> Cc: Mattias Rönnblom <mattias.ronnb...@ericsson.com>; Jeff Shaw 
> <jeffrey.b.s...@intel.com>; step...@networkplumber.org; dev@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
> 
> 
> 
> 

Regards,
Keith

Reply via email to