交叉编译libusb动态库
来源:互联网 发布:小说地图绘制软件 编辑:程序博客网 时间:2024/06/05 08:02
交叉编译libusb动态库
本文记录使用arm-poky-linux-guneabi交叉编译工具编译libusb动态库流程。
源码下载:
wget https://nchc.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.21/libusb-1.0.21.tar.bz2
解压源码:
tar xjf libusb-1.0.21.tar.bz2
交叉编译:
cd libusb-1.0.21/
mkdir install
touch bb.sh cfg.sh
chmod +x bb.sh cfg.sh
vi bb.sh
#!/bin/shsource /data/toolchain/setenv/setenv_imx_a7 #配置交叉编译环境变量makemake install
vi cfg.sh
#!/bin/sh./configure --build=arm-linux --host=arm-poky-linux-gnueabi --prefix=$PWD/install --disable-udev
配置&编译:
./cfg.sh
./bb.sh
编译完成后,将在install路径下生成编译后的动态库和头文件。
至此,libusb的交叉编译工作全部完成。
0 0
- 交叉编译libusb动态库
- Ubuntu交叉编译libusb库
- 常用库之七:libusb和usbutils的交叉编译
- linux下交叉编译libusb的方法及编译一个使用了libusb库的test程序的方法
- linux下交叉编译libusb的方法及编译一个使用了libusb库的test程序的方法
- 在Ubuntu上交叉编译libusb,libusb-compat,usbutils和usb_mode
- Ubuntu上交叉编译libusb (1.0.9 & compat-0.1.4对旧版本兼容usb.h包和库)
- 交叉编译自己的动态库
- 记录一下交叉编译libiconv动态库
- openssl动态库生成以及交叉编译
- openssl动态库生成以及交叉编译
- openssl动态库生成以及交叉编译
- openssl动态库生成以及交叉编译
- openssl动态库生成以及交叉编译
- 交叉编译环境下静态库动态库的加载
- openssl-0.9.8b 动态库 交叉编译
- openssl-1.0.1c交叉编译动态库
- libev 4.15交叉编译无动态库的产生
- Spring 概述
- Lucene错误:no segments* file found in org.apache.lucene.store.RAMDirectory
- 网络编程常用函数
- 最大子段和
- Java中的Copy-On-Write容器
- 交叉编译libusb动态库
- ACM刷题之HDU————Constructing Roads
- React_Native拆分bundle之patch拆包
- cas4.2.x支持MySQL数据库
- 代码解决各种IE兼容问题,IE6,IE7,IE8,IE9,IE10
- 阿里巴巴Weex对移动应用的理解
- 汇总:Android开发的视频资源
- Android paint画笔
- iOS-hitTest:withEvent与自定义hit-testing规则