Top "Static-linking" questions

A static library or statically-linked library is a set of routines, external functions and variables which are resolved in a caller at compile-time and copied into a target application by a compiler, linker, or binder, producing an object file and a stand-alone executable.

When to use dynamic vs. static libraries

When creating a class library in C++, you can choose between dynamic (.dll, .so) and static (.lib, .a) libraries. What …

c++ dll shared-libraries static-linking dynamic-linking
Static linking vs dynamic linking

Are there any compelling performance reasons to choose static linking over dynamic linking or vice versa in certain situations? I've …

c++ c performance static-linking dynamic-linking
Define static method in source-file with declaration in header-file in C++

I am having a little trouble working with static methods in C++ Example .h: class IC_Utility { public: IC_Utility(); ~…

c++ static-linking
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
What do 'statically linked' and 'dynamically linked' mean?

I often hear the terms 'statically linked' and 'dynamically linked', often in reference to code written in C, C++ or …

c# c++ linker static-linking dynamic-linking
Program can't find libgcc_s_dw2-1.dll

Possible Duplicate: The program can't start because libgcc_s_dw2-1.dll is missing I'm using Code::Blocks and MinGW 4.4 (…

c++ mingw codeblocks static-linking
Xcode4 Linking Problem. File was built for archive which is not the architecture being linked (arm6)

Recently, I switched to Xcode4 and when I compile my project I got following error. ld: warning: ignoring file /Users/…

iphone xcode4 static-linking
how to do static linking of libwinpthread-1.dll in mingw?

I use mingw from here: http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-posix/sjlj/x32-4.7.2-release-posix-sjlj-rev2.7z/…

c++ mingw static-linking
Why linker link static libraries with errors? iOS

I have a problem with linking my mixed language framework to a project. 1) I create a framework with Swift and …

ios objective-c swift static-libraries static-linking
Link glibc statically but some other library dynamically with GCC

I need to statically link glibc to my project, because the target platform supports only a very old one ( but …

c linker glibc static-linking