porting libusb to ARM linux

Environment: ubuntu16.04 x64 version, arm-linux-gcc (Sourcery G++ Lite 2010.09-50) 4.5.1

1. Download the source code https://sourceforge.net/projects/libusb/

2. Unzip the source code tar -xvf libusb-1.0.20.tar.bz2

3. Enter the decompressed file directory and configure the compiler

    ./configure --host=arm-linux --prefix=/opt/arm-cross-tools/libusb  --disable-udev

4. make && make install

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324361157&siteId=291194637