标签:gcc grep gre app x86_64 lin sdk 环境 2.0
0. 前提:
环境是CentOS7,archlinux编译有问题,不知道却什么。
1. 解压:
[root@dpdk dpdk]# tar Jxf dpdk-2.2.0.tar.xz
2. 设置环境变量
[root@dpdk dpdk-2.2.0]# export RTE_SDK=/root/src/thirdparty/dpdk/dpdk-2.2.0
[root@dpdk dpdk-2.2.0]# export RTE_TARGET=x86_64-native-linuxapp-gcc
[root@dpdk dpdk-2.2.0]# export |grep RTE
declare -x RTE_SDK="/root/src/thirdparty/dpdk/dpdk-2.2.0"
declare -x RTE_TARGET="x86_64-native-linuxapp-gcc"
[root@dpdk dpdk-2.2.0]#
3. 配置
[root@dpdk dpdk-2.2.0]# make config T=$RTE_TARGET O=$RTE_TARGET
4. 编译
[root@dpdk dpdk-2.2.0]# cd x86_64-native-linuxapp-gcc/
[root@dpdk x86_64-native-linuxapp-gcc]# make
5. 完
标签:gcc grep gre app x86_64 lin sdk 环境 2.0
原文地址:http://www.cnblogs.com/hugetong/p/6373369.html