From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 7/8] doc: add documention for windows Date: Mon, 25 Mar 2019 10:24:25 +0000 Message-ID: <20190325102424.GA185380@bricha3-MOBL.ger.corp.intel.com> References: <20190306041634.12976-1-anand.rawat@intel.com> <20190322225505.13988-1-anand.rawat@intel.com> <20190322225505.13988-8-anand.rawat@intel.com> <79c88022237eeb869356a2c29d68afc179e68e65.camel@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "anand.rawat@intel.com" , "dev@dpdk.org" , "pallavi.kadam@intel.com" , "thomas@monjalon.net" , "ranjit.menon@intel.com" , "jeffrey.b.shaw@intel.com" To: Jerin Jacob Kollanukkaran Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 4228B23D for ; Mon, 25 Mar 2019 11:24:30 +0100 (CET) Content-Disposition: inline In-Reply-To: <79c88022237eeb869356a2c29d68afc179e68e65.camel@marvell.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, Mar 23, 2019 at 04:51:27PM +0000, Jerin Jacob Kollanukkaran wrote: > On Fri, 2019-03-22 at 15:55 -0700, Anand Rawat wrote: > > Added documentation to build helloworld example > > on windows using meson and clang. Updated the > > maintainers list to include windows maintainers. > > > > Signed-off-by: Pallavi Kadam > > Signed-off-by: Anand Rawat > > Reviewed-by: Jeff Shaw > > Reviewed-by: Ranjit Menon > > --- > > > > +Install the Linker > > +------------------ > > + > > +Download and install the Build Tools for Visual Studio to link and > > build the files > > +on windwos, from `Microsoft* website < > > https://visualstudio.microsoft.com/downloads>`_. > > > # I think, Build tools does not have link.exe. Based on my testing, I > need to install Micro soft Visual studio community edition get the > link.exe. > > For instance, in my case, link.exe is installed in following URL in > Visual Studio, not anywhere in build tools path. > > C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64 > > If it is correct then doc needs to be updated. > > # I could compile and run the dpdk-helloworld.exe, Are following > warnings expected? > > [16/16] Linking target examples/dpdk-helloworld.exe. > clang.exe: warning: argument unused during compilation: '-pthread' [- > Wunused-command-line-argument] > LINK : warning LNK4044: unrecognized option '/O1'; ignored > LINK : warning LNK4044: unrecognized option '/-no-as-needed'; ignored > LINK : warning LNK4044: unrecognized option '/-start-group'; ignored > LINK : warning LNK4044: unrecognized option '/-end-group'; ignored > LINK : warning LNK4044: unrecognized option '/-no-as-needed'; ignored Yes, they are, and, in my investigations anyway, I haven't found any way to get rid of them. The meson support for windows is very much targetted at users of msvc and clang-cl (which uses the msvc-style flags) rather than regular clang, so the support is not as clean as I would like. Thankfully, though, it does appear to be working thus far! :-)