X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Ffreebsd_gsg%2Fbuild_sample_apps.rst;h=0c1b9cb79f5b4acb2ded68928405374f4992c2b9;hb=d32411d03466c7cdcc842acdab87dd9f1a5ce2c3;hp=a085b6187dd77c254fda958cf025567e5ab54aa8;hpb=ee01f5271fcda290dffcf453a25b198c8825cda9;p=dpdk.git diff --git a/doc/guides/freebsd_gsg/build_sample_apps.rst b/doc/guides/freebsd_gsg/build_sample_apps.rst index a085b6187d..0c1b9cb79f 100644 --- a/doc/guides/freebsd_gsg/build_sample_apps.rst +++ b/doc/guides/freebsd_gsg/build_sample_apps.rst @@ -13,7 +13,7 @@ Compiling a Sample Application ------------------------------ Once a DPDK target environment directory has been created (such as -``x86_64-native-bsdapp-clang``), it contains all libraries and header files required +``x86_64-native-freebsd-clang``), it contains all libraries and header files required to build an application. When compiling an application in the FreeBSD environment on the DPDK, @@ -22,8 +22,8 @@ the following variables must be exported: * ``RTE_SDK`` - Points to the DPDK installation directory. * ``RTE_TARGET`` - Points to the DPDK target environment directory. - For FreeBSD, this is the ``x86_64-native-bsdapp-clang`` or - ``x86_64-native-bsdapp-gcc`` directory. + For FreeBSD, this is the ``x86_64-native-freebsd-clang`` or + ``x86_64-native-freebsd-gcc`` directory. The following is an example of creating the ``helloworld`` application, which runs in the DPDK FreeBSD environment. While the example demonstrates compiling @@ -43,7 +43,7 @@ in the build directory. cd $(RTE_SDK) cd examples/helloworld/ setenv RTE_SDK $HOME/DPDK - setenv RTE_TARGET x86_64-native-bsdapp-gcc + setenv RTE_TARGET x86_64-native-freebsd-gcc gmake CC=gcc49 CC main.o @@ -67,7 +67,7 @@ in the build directory. setenv RTE_SDK /home/user/DPDK cp -r $(RTE_SDK)/examples/helloworld my_rte_app cd my_rte_app/ - setenv RTE_TARGET x86_64-native-bsdapp-gcc + setenv RTE_TARGET x86_64-native-freebsd-gcc gmake CC=gcc49 CC main.o