I think Matthias is totally right. Android NDK toolchain doesn't use strip
when generating static libraries (it's not safe for all the cases). Usually
when you are compiling the final dylib that is loaded through Java the
toolchan uses stripping to reduze the size. but i think that it is only
used IF you are using the ndk-scripts. So maybe if you have set your own
compile configuration you didn't include that step.

More info about stripping here:
http://www.technovelty.org/linux/stripping-shared-libraries.html

But the simple version is that stripping a dylib is safe.


2012/11/22 Matthias Sattler <[email protected]>

> Did you try to strip your generated binary?
>
> The command is just:
>
> Code:
> strip programfile
>
>
> in the commandline.
>
> If you're building dynamic you might strip the generated libs too. I'm not
> sure if you can still dynamically link against stripped dynamic libs
> though. So keep the original lib around. But it is worth a try.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=51200#51200
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to