1、事件通知库libevent
./configure --prefix=/home/arm-libevent/ --host=arm-none-linux-gnueabi CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++
//添加ssl
./configure --prefix=/home/arm-libevent/ --host=arm-none-linux-gnueabi CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ CPPFLAGS="-I/home/arm-libssl/include" LDFLAGS="-L/home/arm-libssl/lib -lssl -lcrypto"
3、busybox
当执行/bin/cat的时候,实际执行的是/bin/busybox。这里busybox的argv[0]为/bin/cat。/bin/busybox内部,利用
argv[0]将cat Applet启动,执行cat命令
3、curl
// --enable-static --without-zlib
./configure --prefix=/home/arm-curl --host=arm-none-linux CC=arm-none-linux-gnueabi-gcc
4、lwebsocket
cd libwebsockets
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=/home/libwebsocket_x86