交叉编译log4cxx
https://www.jianshu.com/p/a48c864dd996实践:
从以下地址下载代码:
https://logging.apache.org/log4cxx/latest_stable/download.html
https://apr.apache.org/download.cgi
https://github.com/libexpat/libexpat/releases
先使用大约2021年的版本
compile apr:
./configure --host=aarch64-unknown-nto-qnx7.1.0 --prefix=/home/kevin/res/apr CC=/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-gccac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=yes apr_cv_tcp_nodelay_with_cork=yes ap_void_ptr_lt_long=noapr_cv_tcp_nodelay_with_cork=yes
compile expat:
./configure --host=aarch64-unknown-nto-qnx7.1.0 --prefix=/home/kevin/res/expat CC=/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-gcc
compile log4cxx:
./configure --host=aarch64-unknown-nto-qnx7.1.0 --prefix=/home/kevin/res/log4cxx CC=/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-gcc CXX=/home/kevin/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-g++--with-apr=/home/kevin/res/apr--with-apr-util=/home/kevin/res/apr-util--with-odbc=/home/kevin/res/unixODBC
页:
[1]