Top "Linker" questions

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

Android NDK: Link using a pre-compiled static library

I'm trying to port Jnetpcap to Android in order to use it for parsing .pcap files. Jnetpcap is a java …

android linker android-ndk static-libraries
C++ linking error after upgrading to Mac OS X 10.9 / Xcode 5.0.1

After upgrading to Mac OS X 10.9 / Xcode 5.0.1, command lines to create a shared library (.dylib) failed with several undefined symbols. …

c++ linker clang++ osx-mavericks
ld linker question: the --whole-archive option

The only real use of the --whole-archive linker option that I have seen is in creating shared libraries from static …

build-process linker static-libraries
How do I create a dynamic library (dylib) with Xcode?

I'm building few command-line utilities in Xcode (plain C, no Cocoa). I want all of them to use my customized …

xcode linker shared-libraries dylib mach-o
Get list of static libraries used in an executable

Since ldd lists only the dynamic libraries, is there a way to extract the information about the static libraries used …

c++ c unix static linker
GCC how to add before the default linker search path by default? LIBRARY_PATH not working

I'm trying to figure out how to set some environment variable which would make g++ to link to correct versions …

gcc linker g++ ld
Cmake target_link_libraries not linking my library

I'll begin stating that I'm almost complete dumb in Cmake matter. I have the following CMakeLists.txt for a Kdevelop 4.1 …

c++ linux linker cmake kdevelop
What do linkers do?

I've always wondered. I know that compilers convert the code you write into binaries but what do linkers do? They've …

c++ linker dynamic-linking
What is the difference between -I and -L in makefile?

What is the usage of the -I and -L flags in a makefile?

linux makefile linker ld