> On Jan 3, 2019, at 11:10 AM, Jason Messer <[email protected]> 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 <[email protected]> > Sent: Wednesday, January 2, 2019 10:33 PM > To: 'Thomas Monjalon' <[email protected]>; Jason Messer > <[email protected]>; Harini Ramakrishnan > <[email protected]>; Omar Cardona <[email protected]>; > 'Ranjit Menon' <[email protected]> > Cc: 'Mattias Rönnblom' <[email protected]>; 'Jeff Shaw' > <[email protected]>; [email protected] > 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 <[email protected]> > Sent: Wednesday, January 2, 2019 2:45 PM > To: Jason Messer <[email protected]>; Harini Ramakrishnan > <[email protected]>; Omar Cardona <[email protected]>; > Ranjit Menon <[email protected]> > Cc: Mattias Rönnblom <[email protected]>; Jeff Shaw > <[email protected]>; [email protected]; [email protected] > 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

