From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D1A8745BE4; Sat, 26 Oct 2024 23:03:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60AE6402A8; Sat, 26 Oct 2024 23:03:25 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id DDD5340294 for ; Sat, 26 Oct 2024 23:03:23 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2fb561f273eso29135991fa.2 for ; Sat, 26 Oct 2024 14:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729976603; x=1730581403; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=AhsuAr9euGRPo86UbH6jekC7cpuLBaihlm3FAJE52rc=; b=K9ghZvcnS/Coh7x5cGgxJEN2vYWTO/bPetsyNDvkchE4Vui+BrcYG9W1HkDI0UNCNb U4TF8LPvGui4ZJxPKZsuqeBh9M0J6A0+1fUZxenw9kdbPcL0cVKt6Ere4yjaPmlZpxxy nMqe8JLL/v28oZOLdwZHH8wyDMGNuyRJtnh4Sl4Ot+/QX9LqxMM05hKHbdayHtzJ9NbI ozDZrIPi19E25H3knfyjQPJHZynPRRm9G6PTfmDWyyfsXUYsSO9Fk5PhNb9Qz2V6SUzE 9wA0RFoioQJXOH1TdyEXhWXV6TK7lZoJUH0/9xeNRTdC7bRkjpq/XTPUUF05ERuZ4im7 JGHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729976603; x=1730581403; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AhsuAr9euGRPo86UbH6jekC7cpuLBaihlm3FAJE52rc=; b=VqUJoSjf839sMLpXqFMEPUJMABMC4gMFlu9FxB/OMAJo6Y65sBAnGM8qXwV0/IU+ed 6Vuif1KqQ98HquC6R/dmuJzhoTW5Wv6IEYYwvTklQZUm76rYLt3iaV3bvzImroThONy7 1SwASQaMqClPpIE0xEtUsvz9uChXE9gEO4cX2qn5+OeBl5IkMPAqTlDQy0hC+FV6itTK 4XNcUsg6xqtwifyxzcYU/Bkqefi6/FLnU8hwvFcIvkKtbAWUIvqlgfnr164VyztlTdEo ZwlLZcxydkdY53VxIRMqX/rv76eN1bENr6/UALPDCWVGi6EpnTAXW2RjnP9y5OM02DqD G8hQ== X-Gm-Message-State: AOJu0YxUXNSTxEqi0fjlpUjO+fAi1T5PdkZN4Pl341t5ftXFn+c9znNT VU3VHFALjBN3FP9GnyIg7Nr/9JKFDWixoRh7vRuEXLfu487A+IgeZzNvOPmg X-Google-Smtp-Source: AGHT+IGz4whwbx5iYAoZ8RjYX1kF2gIv90AnET3CErHyL1sFcwIhvAyCYMABOFK47lcO8HxaHo1enw== X-Received: by 2002:a2e:a78a:0:b0:2fb:2f7c:28dd with SMTP id 38308e7fff4ca-2fcbdf7d9bamr12859881fa.18.1729976602785; Sat, 26 Oct 2024 14:03:22 -0700 (PDT) Received: from sovereign (broadband-109-173-43-194.ip.moscow.rt.ru. [109.173.43.194]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fcb451a494sm6440271fa.39.2024.10.26.14.03.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 14:03:20 -0700 (PDT) Date: Sun, 27 Oct 2024 00:03:18 +0300 From: Dmitry Kozlyuk To: Andre Muezerie Cc: dev@dpdk.org Subject: Re: [PATCH v2 1/2] doc: enhanced build instructions on Windows Message-ID: <20241027000318.6898e3c9@sovereign> In-Reply-To: <1729884659-2480-2-git-send-email-andremue@linux.microsoft.com> References: <1857976.G7SD5HZVK5@thomas> <1729884659-2480-1-git-send-email-andremue@linux.microsoft.com> <1729884659-2480-2-git-send-email-andremue@linux.microsoft.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 2024-10-25 12:30 (UTC-0700), Andre Muezerie: > -Open a 'Developer PowerShell for VS 2022' prompt from the start menu. > +Open a 'Visual Studio Developer Command Prompt'. When doing so, it's recommended > +to specify the Target Architecture (-arch) and the Host Architecture (-host_arch). It seems that Microsoft documentation [1] uses "target" and "host" terms for what Meson documentation [2] calls "host" and "build" respectively. This deserves a notice to avoid confusion. [1]: https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022 [2]: https://mesonbuild.com/Cross-compilation.html Why manually specifying architectures is recommended? If it is mandatory, please use imperative so that no one skips this step. However, Meson has cross-compilation features, don't they work (cross-compilation from Windows has never been considered yet)? > The developer prompt will configure the environment > to select the appropriate compiler, linker and SDK paths > required to build with Visual Studio 2022. > > .. code-block:: console > > + "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 > + > +Compile the code from the developer prompt. > + > +.. code-block:: console > + > cd C:\Users\me\dpdk > meson setup -Denable_stdatomic=true build > meson compile -C build