From 1db6509373c11f441a7f3c01df9ef4ac30b6367e Mon Sep 17 00:00:00 2001 From: wangyu- Date: Mon, 21 Aug 2017 02:38:07 -0700 Subject: [PATCH] Update build_guide.zh-cn.md --- doc/build_guide.zh-cn.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/build_guide.zh-cn.md b/doc/build_guide.zh-cn.md index ecb1a61..2b74612 100644 --- a/doc/build_guide.zh-cn.md +++ b/doc/build_guide.zh-cn.md @@ -70,3 +70,5 @@ cc_cross=/home/wangyu/Desktop/OpenWrt-SDK-15.05-ar71xx-generic_gcc-4.8-linaro_uC ``` 执行make cross,目录下生成udp2raw_cross文件。编译完成。 + +make cross编译出的binary是非静态的。如果运行有问题,可以尝试用make cross2编译静态的binary,你的工具链必须带静态库才能成功编译,生成的文件仍然叫udp2raw_cross.