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.

Static linking with libwinpthread

I try to build program with static linked toolchain libraries. I pass: LDFLAGS="-Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -static-libgcc -static-libstdc++" …

mingw static-linking mingw-w64
Create a static Haskell Linux executable

It's not often two things I love so much come together to cause me so much annoyance (besides my kids). …

linux haskell libraries static-linking ld
linking to a static 0MQ library in VS

This may be a Visual Studio question more than anything else... I'm trying to build a 0MQ C++ example using …

visual-studio static-libraries static-linking zeromq
How to static linking to glibc in cmake

I'm trying to build a package from Fedora that can run on a RedHat 6 machine. So I need to build …

cmake static-linking software-packaging
Linking static libraries with clang independent of order

In GCC, I can use the linker flags -Wl,--start-group and -Wl,--end-group to resolve linking problems with libraries that …

c++ clang static-linking lld
How to compile a static musl binary of a Rust project with native dependencies?

I have a project with dependencies on Hyper and Diesel, and because of that, on native libraries OpenSSL and libpq. …

rust static-linking rust-cargo musl
Size of a library and the executable

I have a static library *.lib created using MSVC on windows. The size of library is say 70KB. Then I …

static-libraries static-linking
A procedure imported by {dll} could not be loaded

I have several Unmanaged C++ written lib files which I need to link to Managed C++ dll. Then I need …

c# static-linking managed-c++ ildasm