树莓PI交叉编译BOOST库(asio网络例子)
环境搭建参考上一篇文章【http://www.cnblogs.com/yuliyang/p/4023758.html】
客户端(use boost.asio on raspberry pi )client
服务器端(writen in python) server
添加静态库依赖
/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/regex/build/gcc-arm/release/link-static/threading-multi/libboost_regex.a
/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/system/build/gcc-arm/release/link-static/threading-multi/libboost_system.a
/home/leeyoung/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/libpthread.a
/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/thread/build/gcc-arm/release/link-static/threading-multi/libboost_thread.a
运行效果:(result)
服务器端:(server)
(client)
作者:小菜鸟_yang
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。