From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Compiler for Windows Date: Thu, 03 Jan 2019 18:32:45 +0100 Message-ID: <10666701.GC44MuPZhG@xps> References: <7824863.MkUOD0j12R@xps> <005401d4a32e$2f20f860$8d62e920$@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Stephen Hemminger , Harini Ramakrishnan , Omar Cardona , 'Ranjit Menon' , 'Mattias =?ISO-8859-1?Q?R=F6nnblom=27?= , 'Jeff Shaw' , "dev@dpdk.org" , Jeffrey Tippet , "Deval, Manasi" To: Jason Messer Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 9CBFB1B398 for ; Thu, 3 Jan 2019 18:32:50 +0100 (CET) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Jason, We need to get facts in order to do a good decision. Please, let's give detailed feedback for each option. 03/01/2019 18:10, Jason Messer: > +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. I think the main issue is that MSVC is not C99 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?). Chromium is built with clang on Windows, so I wonder what prevents us to use it? > 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 GCC on WSL would build a Linux binary? Can we build a Windows native binary with it? What about mingw-w64? Is there any drawback? > From: Stephen Hemminger > > What about Gcc under the WSL thing (ie Linux emulation in Windows). > > Much better than Cygwin type stuff. > > > > From: Thomas Monjalon > > > 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