ff4c4654fe2143ab47de82b55a35b9cae7fd46f6
[dpdk.git] / doc / guides / windows_gsg / run_apps.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright(c) 2020 Dmitry Kozlyuk
3
4 Running DPDK Applications
5 =========================
6
7 Run the ``helloworld`` Example
8 ------------------------------
9
10 Navigate to the examples in the build directory and run `dpdk-helloworld.exe`.
11
12 .. code-block:: console
13
14     cd C:\Users\me\dpdk\build\examples
15     dpdk-helloworld.exe
16     hello from core 1
17     hello from core 3
18     hello from core 0
19     hello from core 2
20
21 Note for MinGW-w64: applications are linked to ``libwinpthread-1.dll``
22 by default. To run the example, either add toolchain executables directory
23 to the PATH or copy the library to the working directory.
24 Alternatively, static linking may be used (mind the LGPLv2.1 license).