frostwire / frostwire-jlibtorrent

A swig Java interface for libtorrent by the makers of FrostWire. Develop libtorrent based apps with the joy of coding in Java.
http://www.frostwire.com
MIT License
444 stars 137 forks source link

How to Compile in embedded system, the platform is arm32. #272

Closed huangyi1112 closed 2 years ago

huangyi1112 commented 2 years ago

How to modify the Android platform to arm32,thank you!

gubatron commented 2 years ago

Look at https://github.com/frostwire/frostwire-jlibtorrent/blob/master/swig/config/android-arm-config.jam (this is arm32 for android)

Then look at the build script that uses that .jam file https://github.com/frostwire/frostwire-jlibtorrent/blob/master/swig/build-android-arm.sh

This config might be a good starting point.

You will find utility functions used by the build-xxx.sh scripts here https://github.com/frostwire/frostwire-jlibtorrent/blob/master/swig/build-utils.shinc