X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Flinux_gsg%2Fbuild_sample_apps.rst;h=2f606535c374cc9c2555213d015c11d155c1d73d;hb=66fde1b943ebc99097049138bb4b857e6ae57a2f;hp=332424e05cec27a10940f2e9cbcf9e73222b01c0;hpb=e4348122a42a15fd03d1221a1c34615d5b68add6;p=dpdk.git diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst index 332424e05c..2f606535c3 100644 --- a/doc/guides/linux_gsg/build_sample_apps.rst +++ b/doc/guides/linux_gsg/build_sample_apps.rst @@ -15,7 +15,7 @@ It also provides a pointer to where sample applications are stored. Compiling a Sample Application ------------------------------ -Once an DPDK target environment directory has been created (such as ``x86_64-native-linuxapp-gcc``), +Once an DPDK target environment directory has been created (such as ``x86_64-native-linux-gcc``), it contains all libraries and header files required to build an application. When compiling an application in the Linux* environment on the DPDK, the following variables must be exported: @@ -36,7 +36,7 @@ By default, the binary is generated in the build directory. cd examples/helloworld/ export RTE_SDK=$HOME/DPDK - export RTE_TARGET=x86_64-native-linuxapp-gcc + export RTE_TARGET=x86_64-native-linux-gcc make CC main.o @@ -58,7 +58,7 @@ By default, the binary is generated in the build directory. export RTE_SDK=/home/user/DPDK cp -r $(RTE_SDK)/examples/helloworld my_rte_app cd my_rte_app/ - export RTE_TARGET=x86_64-native-linuxapp-gcc + export RTE_TARGET=x86_64-native-linux-gcc make CC main.o