March 2004
Intermediate to advanced
560 pages
14h 38m
English
The linker (ld command) should rarely be called directly. For linking applications from a series of .a, .o, and .sl/.so files, the appropriate compiler should be used instead to do the linking. When using the compiler, it knows to provide certain runtime libraries for the linker based on the language. In most cases, the same compiler options used to compile the individual files can be used for the link step, but .o, .a, or shared libraries are specified instead of .c files. For linker specific options, the C or C++ compiler can be used to pass these options to the linker using the -Wl option.
The main linker option that should be used when compiling shared libraries is the ...
Read now
Unlock full access