android - libtorrent-rasterbar.so - file very large (60mb+) -
i've compiled libtorrent-rasterbar android (arm) using libtorrent-rasterbar sources (github) ran questionable results. below list steps took before compilation:
after setting stand-alone toolchain arm moved openssl libs toolchains lib folder , headers toolchains include folder etc. did boost-android libs well. next exported environment variables follows:
export sysroot=$androidndk/platforms/android-16/arch-arm export path=/opt/android/toolchains/gcc-arm/bin:$path export cc=arm-linux-androideabi-gcc export cxx=arm-linux-androideabi-g++ export crosshost=arm-linux-androideabi export crosshome=/opt/android/toolchains/gcc-arm and finally, configured using following:
./configure --host=$crosshost --prefix=$crosshome --with-boost=$crosshome --with-boost-libdir=$crosshome/lib --enable-shared --disable-static --enable-debug=yes --enable-loggin-yes --with-openssl=$crosshome everything compiles fine shared library produced way larger should be. 65mb. tried changing cppflags include -o2 (optimization setting) didn't make size difference. there has compiled libtorrent-rasterbar shared or static library android? if so, size of final binary , steps did take?
thanks much!
update: forgot include machine i'm compiling on. here goes:
- cpu i7 4770k
- mem 16gb 2133mhz
- hdd 400gb ssd partition
- os osx yosemite
- gcc arm-linux-android-gcc (4.9)
- ndk r10e
- toolchain arm-linux-androideabi-4.9
- gpu nvidia gtx970 (irrelevant)..
yes, it's hackintosh.
Comments
Post a Comment