shared-libraries
How to add multi shared libraries in android ndk?
Currently there are many shared libraries *.so in my program, but it seems the NDK only support the main shared library that will be used by jni.[详细]
2023-04-01 12:40 分类:问答Good practices for writing C dynamic libraries [DSOs] (binary compatibility + memory management)
I have some experience writing C libraries but I\'ve never read any formal documents describing good practices while writing such libraries. My question pertains around mainly 2 topics:[详细]
2023-04-01 09:32 分类:问答How to force symbols from a static library to be included in a shared library build?
I\'m trying to build a shared object library that will be opened by a program using dlopen(). This library will use functionality provided by a separate library that is static.[详细]
2023-04-01 09:15 分类:问答Loading shared libraries with dependencies on Android
I\'m porting a big chunk of native code with several interdependent libraries. Loading the code fails since Android linker only looks dependencies in /system/lib/ and not in the application install di[详细]
2023-04-01 09:01 分类:问答gmp shared libraries not found
I have a very simple GMP program in C (below) #include <stdio.h> #include <gmp.h> int ma开发者_高级运维in() {[详细]
2023-03-31 22:41 分类:问答Integrating/Porting Qt from linux to embedded linux
I am trying to port my Qt code from Linux to embedded linux. Now I looked online and I came across this document on how to deploy onto embedded linux/linux:[详细]
2023-03-31 10:10 分类:问答Why is fPIC absolutely necessary on 64 and not on 32bit platforms?
I recently received a: ...relocation R_X86_64_32 against `a local symbol\' can not be used when making a shared object; recompile with -fPIC[详细]
2023-03-31 09:41 分类:问答Cannot run Code::Blocks: libwx_gtk2u-2.8.so.0 not found
I am trying to install Code::Blocks 10.05 from (non-SVN) sources (codeblocks-10.05-src.tar.bz2). My OS is Ubuntu 11.04. I needed to download and install wxWidgets first (I now have wxGTK-2.8.12), whic[详细]
2023-03-30 21:07 分类:问答When is a shared library considered to be "the same" for the purpose of sharing?
I\'m wondering... When I\'m starting a program X that uses a shared library A, and while the program runs, I modify the shared library on the disk, and run another program Y that depends on the same s[详细]
2023-03-30 06:04 分类:问答Shared library used by two processes
Somebody asked me this question: Two processes P1 and P2 are using a shared library (UNIX system). The shared library has a global variable G1, and a getval( ) and setval( ) function which gets and s[详细]
2023-03-29 03:10 分类:问答