From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E4C4A0518; Sun, 21 Jun 2020 00:36:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A84D01BFE8; Sun, 21 Jun 2020 00:35:58 +0200 (CEST) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id 781811BFC1 for ; Sun, 21 Jun 2020 00:35:54 +0200 (CEST) Received: by mail-lj1-f196.google.com with SMTP id s1so15410639ljo.0 for ; Sat, 20 Jun 2020 15:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MRLVSjUPRqK+yPZy/1Ij3but2s9fEePJC2BgtuEM5nk=; b=ifUo35XBv3aYb2TleUsMf9/ylEw2Nh3W3NgHURJPf+5sXnT9jM5zJYuzwB1KD7zu6i JuoRqqg7qWZszrvyn/uuEMrld3oZYZ+8/Koi82zejvCpGdic+0k0v99wSq5nsuuuvohq wVVDQRK1IoDmPqYXoFs1BgUPjs18WvdOGv/dElkvMhEFskOejxHHN+VVYAajqp741JSO otsiPAxqcCDjffQCTw0k4MsueomXJm00qNO7S6I8Nassveu65i3l4+pbYnzXmdJcNR4O K5L3sui/C4lTQ1nV0Fz3gZerR9sRcwXAxwjk5T82uqDTyTCeVoXxQFK4IWlWz/m6G+9/ Ujsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MRLVSjUPRqK+yPZy/1Ij3but2s9fEePJC2BgtuEM5nk=; b=Ys3B7Slhpl2KEYJysxOO5uyUiUzF1wWhDwkbEycs3Cn3CkFFXJRANbqLK8rDuziVM4 pRruXZfiFr29KSK6hztJAaiGe/Olfh0pi9dmoFvBvjY9Guxw/2edOxLUiEwsVFWMV6WW Pi3As62H8YiddZGQr/hhLS1RAsktylPVuVXtKePS7GNZ4S89j/9A4HRmTc4IhrH+Baqq UqittCHYw4oSDVingWZzMS2fBkJyOmuRPGH5vfYU8G63hSDI+ZpxEAkDN+qJvAuJUujH GixYc2PQpt6KWmoolFLp03LSDpyNcJjUHhQH1ll3wG++a4yO9cxAiWx9zOg1qn2NyLTG GZGw== X-Gm-Message-State: AOAM530UB2iTLeAQAenn/jMIQBiIsFudnc3hgd6i2EyZZ8YUdueKxPuk 7GrIe7WkJMborg5/OAEb3JQ84A3zlW8EPA== X-Google-Smtp-Source: ABdhPJxlx/ir6LvCet3UYfipt93J6VJcf+qYLjb//gQSanRlxZ+80VXl8mKmRIiJPEEXkvCB8PcLvg== X-Received: by 2002:a2e:87da:: with SMTP id v26mr4744729ljj.14.1592692553833; Sat, 20 Jun 2020 15:35:53 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id q14sm1877015ljj.110.2020.06.20.15.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2020 15:35:53 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Thomas Monjalon , Tal Shnaiderman , Dmitry Kozlyuk Date: Sun, 21 Jun 2020 01:35:44 +0300 Message-Id: <20200620223544.24070-4-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200620223544.24070-1-dmitry.kozliuk@gmail.com> References: <20200620223544.24070-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 3/3] doc/windows: clarify installation for MinGW-w64 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" Provide a more direct link for installer download and clarify thread model choice during installation. As pthread is not a requirement, remove notice about its possible runtime dependency. Signed-off-by: Dmitry Kozlyuk --- doc/guides/windows_gsg/build_dpdk.rst | 12 +++++++----- doc/guides/windows_gsg/run_apps.rst | 7 +------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/doc/guides/windows_gsg/build_dpdk.rst b/doc/guides/windows_gsg/build_dpdk.rst index 650483e3b..5757446cc 100644 --- a/doc/guides/windows_gsg/build_dpdk.rst +++ b/doc/guides/windows_gsg/build_dpdk.rst @@ -44,14 +44,16 @@ and ensure the Windows SDK is selected. Option 2. MinGW-w64 Toolchain ----------------------------- -Obtain the latest version from -`MinGW-w64 website `_. -On Windows, install to a folder without spaces in its name, like ``C:\MinGW``. -This path is assumed for the rest of this guide. - +On Linux, i.e. for cross-compilation, install MinGW-w64 via a package manager. Version 4.0.4 for Ubuntu 16.04 cannot be used due to a `MinGW-w64 bug `_. +On Windows, obtain the latest version installer from +`MinGW-w64 repository `_. +Any thread model (POSIX or Win32) can be chosen, DPDK does not rely on it. +Install to a folder without spaces in its name, like ``C:\MinGW``. +This path is assumed for the rest of this guide. + Install the Build System ------------------------ diff --git a/doc/guides/windows_gsg/run_apps.rst b/doc/guides/windows_gsg/run_apps.rst index 78e5a614f..abaecc379 100644 --- a/doc/guides/windows_gsg/run_apps.rst +++ b/doc/guides/windows_gsg/run_apps.rst @@ -83,13 +83,8 @@ Navigate to the examples in the build directory and run `dpdk-helloworld.exe`. .. code-block:: console cd C:\Users\me\dpdk\build\examples - dpdk-helloworld.exe + dpdk-helloworld.exe -l 0-3 hello from core 1 hello from core 3 hello from core 0 hello from core 2 - -Note for MinGW-w64: applications are linked to ``libwinpthread-1.dll`` -by default. To run the example, either add toolchain executables directory -to the PATH or copy the library to the working directory. -Alternatively, static linking may be used (mind the LGPLv2.1 license). -- 2.25.4