`aarch64` support
Continuing the discussion that started here: https://github.com/seladb/PcapPlusPlus/issues/732
@inSilo let's discuss here how we want to proceed
Continuing the discussion that started here: #732
@inSilo let's discuss here how we want to proceed
Sorry, I have been too busy these few days, I haven't had time to come and see the reply. Today I saw "change the variable type that holds getopt_long result from char to int", which is pretty good, and the rest is to cross-compile to aarch64 platform. If you don't respect the integration of libpcap into the project and compile it is also possible. Cross-compilation is currently configured in platform.mk.linux.aarch64 and configure-linux.sh. The cross-target tool chain of aarch64 is configured in platform.mk.linux.aarch64, and then add a "--aarch64"to configure in configure-linux.sh. The "aarch64" option allows users to specify the cross-compilation target as the aarch64 platform. The author's idea is great, I hope the author can integrate it according to the idea of my last post.👍👍👍
In addition, I hope that the project can also provide a "--static" option, which can be achieved by getting the binary file out of the box and running directly on the openwrt platform without installing too many dependencies on the openwrt platform. I wonder if the author agrees with this idea. Do not? 😄😄😄😄
@inSilo I agree with your approach, can you please open a PR with the changes?
any update regarding this? I need PcapPlusPlus compiled for aarch64 (need to run it on ubuntu aarch64 - Raspberry pi) . I've been trying to cross-compile it but without success
any update regarding this? I need PcapPlusPlus compiled for aarch64 (need to run it on ubuntu aarch64 - Raspberry pi) . I've been trying to cross-compile it but without success
I added documentation here how to cross-compile or build for different architectures, please feel free to comment or suggest changes: https://pcapplusplus.github.io/docs/next/install/linux#cross-compilation-or-build-for-different-architectures