libev交叉编译过程记录

1.官方下载libev源码

git clone https://github.com/enki/libev.git

 

2.编译生成Makefile

./configure --host=arm-linux  CC=arm-linux-gnueabihf-gcc --prefix=/mnt/share/lib

3.生成

make

3.安装到指定目录,收货 

make install DESTDIR=/root/projects/libev/build/

 

 编译完成,愉快的玩了,下载地址

原文地址:https://www.cnblogs.com/cqwo/p/15385733.html