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:

  1. cpu i7 4770k
  2. mem 16gb 2133mhz
  3. hdd 400gb ssd partition
  4. os osx yosemite
  5. gcc arm-linux-android-gcc (4.9)
  6. ndk r10e
  7. toolchain arm-linux-androideabi-4.9
  8. gpu nvidia gtx970 (irrelevant)..

yes, it's hackintosh.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -