On x86 linux, process A.exe invokes dlopen() to load a sha开发者_运维知识库red library B.so. In B.so, there\'s a constructor, who wants to know which function in process A.exe is interrupted right bef
I need to optimize the size of my executable severely (ARM development) and I noticed that in my current build scheme (gcc + ld) unused symbols are not getting stripped.
http://www.gnu.org/s/libmicrohttpd/tutorial.html#Hello-browser-example gcc helloworld.c-lmicrohttpd -I/opt/local/include/
Operating system Centos 5.6 i686 2.6.18-53.1.4.el5vm. gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) ld version 2.17.50.0.6-6.el5 20061020
I am having a peculiar problem. I have a shared library \'my_tracker.so\' that I built using gcc-4.2. This shared library now has a dependency on libgcc_s.so.1 (GCC 4.2). I did \'ldd my_tracker.so\' a
I am using Linux 2.6.31-14 on Intel 32-bit processor. C file: #include <stdio.h> main() { printf(\"Hello World!\\n\");
Trying to build a completely self-contained OTP that can be moved around independently of libs installed on a system.
I exp开发者_开发技巧erienced a (for me) strange behaviour today: Using QMake with the PkgConfig-options etc. I was able to link the opencv libraries, but then I switched to CMake using PkgConfig. Once
I am facing linker error in Xcode, I compiled Iphone code in Mac Virtual Machine (snow leopard 10.6.6) by following instruction in it Readme file for Mac OS, It compiled successfully,
Running Debian/Linux x86_64 with GNU ld 2.21. Quite simply, if I link with ld -o main main.o /usr/lib/crti.o /usr/lib/crt1.o /usr/lib/crtn.o -lc -lm