Kenwood HP 9000 Personal Computer User Manual


 
Chapter 3 51
Linker Tasks
3 Linker Tasks
You have a great deal of control over how the linker links your program
or library by using ld command-line options.
Using the Compiler Command
“Changing the Default Library Search Path with -Wl, -L”
“Getting Verbose Output with -v”
“Passing Linker Options from the Compiler Command with -Wl”
“Renaming the Output File with -o”
“Specifying Libraries with -l”
“Suppressing the Link-Edit Phase with -c”
Using the Linker Command
“Linking with the 32-bit crt0.o Startup File”
“Changing the Default Library Search Path with -L and LPATH”
“Changing the Default Shared Library Binding with -B”
“Choosing Archive or Shared Libraries with -a”
“Dynamic Linking with -A and -R”
“Exporting Symbols with +e”
“Exporting Symbols from main with -E”
“Getting Verbose Output with -v”
“Hiding Symbols with -h”
“Improving Shared Library Performance with -B symbolic”
“Moving Libraries after Linking with +b”
“Moving Libraries After Linking with +s and SHLIB_PATH”
“Passing Linker Options from the Compiler Command with -Wl”
“Passing Linker Options in a file with -c”
“Passing Linker Options with LDOPTS”