Hello TrouSerS users,
We are currently evaluating an integration of the TrouSerS into an Android environment.
In order to succeed we tried to link TrouSerS against glibc (linking against the bionic library is failing due to missing features) dynamically with proper setting of –Wl, -rpath and –Wl, --dynamic-linker flags. Actually we were able to do that, but have been observing runtime linkage issues around JNI in Java environment.
Now we are trying the approach, where we link all the TrouSerS stuff statically in order to avoid dynamic linking in Android JNI environment.
However the LDFLAGS=”static -static-libgcc” do not seem to do the trick since tcsd program still has dynamic dependencies on libpthread and libc.
Also tmp-tools build fails, if we use the LDFLAGS mentioned above.
I would like to know how to force the TrouSerS build environment in generating all the things (especially libtspi) statically, so we can link against it JNI and use all these tasty TrouSerS features from Java applications.
Thank you and best regards,
Alex Geng
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows:
Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
