QNX/LINUX/ANDROID vsomeip简单编译

QNX/LINUX/ANDROID/...简单编译libboost_filesystem.a libboost_system.a libboost_thread.a_蓝牙先生的博客-CSDN博客用最基础的命令编译boost库https://blog.csdn.net/m0_37132481/article/details/125154891 和上一篇类似,以下仅贴出编译命令,头文件安装命令没有写出来 

cd implementation/endpoints/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -

cd implementation/tracing/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -

cd implementation/message/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -

cd implementation/routing/*/*
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c .cpp
cd -

cd implementation/runtime/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c implementation/runtime/*/*.cpp
cd -

cd implementation/utility/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -

cd implementation/plugin/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -

cd implementation/security/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -

cd implementation/logger/*/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -


ntoaarch64-gcc \
 -o libvsomeip3.so \
 -shared \
 implementation/endpoints/*/*.o \
 implementation/tracing/*/*.o \
 implementation/message/*/*.o \
 implementation/routing/*/*.o \
 implementation/utility/*/*.o \
 implementation/plugin/*/*.o \
 implementation/security/*/*.o \
 implementation/logger/*/*.o


cd implementation/configuration/src/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -
ntoaarch64-gcc \
 -o libvsomeip3-cfg.so \
 -shared \
 implementation/configuration/src/*.o
 
cd implementation/e2e_protection/src/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -
ntoaarch64-gcc \
 -o libvsomeip3-e2e.so \
 -shared \
 implementation/e2e_protection/src/*.o

cd implementation/service_discovery/src/
ntoaarch64-gcc \
-I/mnt/boost_1_71_0/_install/include \
-I/mnt/vsomeip-master/interface/ \
-I/mnt/vsomeip-master/interface/compat/ \
-I/mnt/vsomeip-master/implementation/helper/1.70 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0 \
-I/mnt/qnx700/target/qnx7/usr/include/c++/5.4.0/aarch64-unknown-nto-qnx7.0.0 \
-std=gnu++11 \
-DWITHOUT_SYSTEMD=1 \
-c *.cpp
cd -
ntoaarch64-gcc \
 -o libvsomeip3-sd.so \
 -shared \
 implementation/service_discovery/src/*.o


 

你可能感兴趣的:(android,linux,arm开发)