Top "Ld" questions

The ld (linker or loader) program combines object files, archive files and (references from) shared libraries, relocates their data and addresses together with symbol references.

How to link a gas assembly program that uses the C standard library with ld without using gcc?

As an exercise to learn more precisely how c programs work and what minimum level of content must exist for …

assembly ld gnu-assembler binutils
Linker performance related to swap space?

Sometimes it's handy to mock up something with a little C program that uses a big chunk of static memory. …

c linux gcc swap ld
Library path order for alternate glibc dynamic linker (ld.so)

I need to use an alternate glibc version, newer than the one installed on my system (2.18 vs 2.15). Several related issues …

linux shared-libraries ld glibc dynamic-linking
What is a C++ "Key Function" as described by gold?

Please do not answer the question "how do I solve this error message?" In the error message provided by gold: /…

c++ gcc ld
What's the difference between `-rpath-link` and `-L`?

The man for gold states: -L DIR, --library-path DIR Add directory to search path --rpath-link DIR Add DIR to link …

linker ld gold-linker bfd lld
GNU ld removes section

I'm writing a boot script for an ARM-Cortex M3 based device. If I compile the assembler boot script and the …

linker embedded arm ld gnu-assembler
ld cannot find udev

I'm trying to compile a program but it throws the following error: [cc] /usr/bin/ld: cannot find -ludev I …

linux ld
unable to compile: unrecognized relocation 0x2a in section text

I have received an error message when compiled "make" $ make g++ -fopenmp -o lang.test main.o -I../../../include/Lheader …

gcc ld binutils
linking a shared library with statics using CMake

cmake 2.8 gcc (GCC) 4.8.1 Edit ---------- Wrapping the static libraries in whole-archive works for every library except the pjmedia-videodev The problem …

c cmake ld pjsip
GNU ld cannot find library which is there

The packages I'm toying with here are rather unknown, but nevertheless the problem is rather generic. Basically, I'm trying to …

c++ linker shared-libraries ld library-path