Top "Linker" questions

The linker is part of the toolchain for producing executables from source code written in compiled programming languages.

Override a function call in C

I want to override certain function calls to various APIs for the sake of logging the calls, but I also …

c function linker overriding
Using a static library in Qt Creator

I'm having a hell of a time finding documentation which clearly explains how to use a static library in Qt …

c++ linker static-libraries qt-creator
MinGW linker error: winsock

I am using MinGW compiler on Windows to compile my C++ application with sockets. My command for linking looks like: …

c++ linker mingw winsock
What happens to global and static variables in a shared library when it is dynamically linked?

I'm trying to understand what happens when modules with globals and static variables are dynamically linked to an application. By …

c++ linker global-variables global dynamic-linking
Is /usr/local/lib searched for shared libraries?

Is /usr/local/lib searched for shared libraries ? I have this error: [Leo@chessman ~]$ whereis ffmpeg ffmpeg: /usr/local/bin/…

linux linker ffmpeg shared-libraries
CMake and Static Linking

I'm using CMake in a project, and I'm trying to statically link some libraries. I've set: set(BUILD_SHARED_LIBS …

gcc linker cmake static-libraries static-linking
Is it feasible to compile Python to machine code?

How feasible would it be to compile Python (possibly via an intermediate C representation) into machine code? Presumably it would …

python c linker compilation
How do I determine the target architecture of static library (.a) on Mac OS X?

I'm interested in verifying if a given iPhone static library has been built for ARM or Intel. It's more curiosity …

iphone macos linker bsd universal-binary
Unresolved external symbol LNK2019

First of all, I know this question is all over this site but I have looked at almost all of …

c++ visual-studio linker linker-errors unresolved-external