Top "Linker" questions

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

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
Linking a shared library using gcc

I have a shared library (*.so) created using Real View Compiler Tools (RVCT 3.2) on windows target. Then I try to …

gcc linker shared-libraries
error LNK2019: unresolved external symbol

I've recently started to program in C++ again, and for the purposes of education, I am working on creating a …

c++ visual-studio linker visual-studio-2012 lnk2019
difference between dynamic loading and dynamic linking?

Routine is not loaded until it is called. All routines are kept on disk in a re-locatable load format. The …

dynamic linker operating-system loading
Static variables initialisation order

C++ guarantees that variables in a compilation unit (.cpp file) are initialised in order of declaration. For number of compilation …

c++ visual-studio gcc static linker
Linker error on a C project using Eclipse

I want create a project for the STM32F217IG microcontroller. Then I installed Eclipse and the GNU for ARM …

eclipse gcc linker arm gnu
Why do I get "unresolved external symbol" errors when using templates?

When I write C++ code for a class using templates and split the code between a source (CPP) file and …

c++ templates linker
gcc will not properly include math.h

Here is a minimal example outlining my problem test.c: #include <stdio.h> #include <math.h> …

c gcc linker static-libraries
Very strange linker behavior

This is strange because I was able to get the error below to go away by removing the reference to …

gcc linker ld
Any tool/software in windows for viewing ELF file format?

There are lots of PE file browsers. Here is a list of good ones if you are interested: PE File …

windows assembly linker reverse-engineering elf