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 F0837A05D3 for ; Mon, 25 Mar 2019 18:43:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C456010A3; Mon, 25 Mar 2019 18:43:44 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 94EED239 for ; Mon, 25 Mar 2019 18:43:41 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 10:43:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,269,1549958400"; d="scan'208";a="143699482" Received: from unknown (HELO [10.241.225.10]) ([10.241.225.10]) by FMSMGA003.fm.intel.com with ESMTP; 25 Mar 2019 10:43:40 -0700 To: Bruce Richardson , Jerin Jacob Kollanukkaran Cc: "anand.rawat@intel.com" , "dev@dpdk.org" , "thomas@monjalon.net" , "ranjit.menon@intel.com" , "jeffrey.b.shaw@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> <20190325102424.GA185380@bricha3-MOBL.ger.corp.intel.com> From: Pallavi Kadam Message-ID: <39af445d-7769-2b1f-fcfe-a9e626741d09@intel.com> Date: Mon, 25 Mar 2019 10:43:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190325102424.GA185380@bricha3-MOBL.ger.corp.intel.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Transfer-Encoding: 7bit Content-Language: en-US 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: <20190325174339.dZ-2QfPJ2AYhusc7TrAxV5NcDhwhXPRwc9p47524RHs@z> On 3/25/2019 3:24 AM, Bruce Richardson wrote: > 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! :-) Thanks, Bruce. Yes, few warnings are expected for now. Regarding link.exe, will update the docs to install the build tools and select the 'Visual C++ build tools' option which also installs the linker and SDK required to build on windows. Doing so, link.exe can be installed in the following URL and installing Visual Studio can be avoided. C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64