From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 55242A05D3 for ; Mon, 25 Mar 2019 11:24:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7CABF2BF4; Mon, 25 Mar 2019 11:24:31 +0100 (CET) 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) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 03:24:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="217316457" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.35]) by orsmga001.jf.intel.com with SMTP; 25 Mar 2019 03:24:26 -0700 Received: by (sSMTP sendmail emulation); Mon, 25 Mar 2019 10:24:25 +0000 Date: Mon, 25 Mar 2019 10:24:25 +0000 From: Bruce Richardson To: Jerin Jacob Kollanukkaran Cc: "anand.rawat@intel.com" , "dev@dpdk.org" , "pallavi.kadam@intel.com" , "thomas@monjalon.net" , "ranjit.menon@intel.com" , "jeffrey.b.shaw@intel.com" 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="UTF-8" Content-Disposition: inline In-Reply-To: <79c88022237eeb869356a2c29d68afc179e68e65.camel@marvell.com> User-Agent: Mutt/1.11.2 (2019-01-07) Subject: Re: [dpdk-dev] [PATCH v4 7/8] doc: add documention for windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190325102425.hn6k-nsNlQ2Gq4gsTXFLO_J7RExvXL30sxSBZjABDhA@z> 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! :-)