Changing the Default Shared Library Binding with -B.............................................................. | 32 |
Example Using -B immediate.......................................................................................... | 32 |
Nonfatal Shared Library Binding with -B nonfatal.............................................................. | 32 |
Restricted Shared Library Binding with -B restricted............................................................. | 32 |
Direct Shared Library Binding with -B direct...................................................................... | 33 |
Shared Library Binding with -B group............................................................................... | 33 |
Lazydirect Shared Library Binding with -B lazydirect........................................................... | 33 |
Shared Library Binding with -B nodelete........................................................................... | 33 |
-B nodirect.................................................................................................................... | 33 |
Improving Shared Library Performance with -B symbolic........................................................... | 34 |
Example Using -B symbolic............................................................................................. | 34 |
Comparing -B symbolic with -h and +e............................................................................. | 34 |
Case 1: Building a Shared Library with -B symbolic....................................................... | 34 |
Case 2: Building a Shared Library with -h or +e........................................................... | 35 |
Choosing Archive or Shared Libraries with -a......................................................................... | 36 |
Option Settings to -a...................................................................................................... | 36 |
Example Using -a .................................................................................................... | 36 |
Linking Shared Libraries with -dynamic.................................................................................. | 36 |
Linking Archived Libraries with -noshared.............................................................................. | 37 |
Exporting Symbols with +e.................................................................................................. | 37 |
Example Using +e......................................................................................................... | 37 |
When to use -h versus +e............................................................................................... | 37 |
Emitting debug information in a separate file......................................................................... | 38 |
Exporting Symbols with +ee................................................................................................ | 38 |
Exporting Symbols from main with -E.................................................................................... | 38 |
Hiding Symbols from Export with +hideallsymbols.................................................................. | 39 |
Hiding Symbols with -h....................................................................................................... | 39 |
Example Using -h.......................................................................................................... | 39 |
Tips on Using -h............................................................................................................ | 39 |
Hiding and Exporting Symbols When Building a Shared Library......................................... | 40 |
Hiding Symbols when Combining .o Files with the -r Option............................................... | 40 |
Hiding and Exporting Symbols when Creating an a.out File................................................ | 40 |
Not Recording Link Time Paths with +nodefaultrapth............................................................... | 41 |
Moving Libraries after Linking with +b.................................................................................. | 41 |
Specifying a Path List with +b.......................................................................................... | 41 |
Concatenating Search Paths Specified by Multiple +b path_list on PA64 and Integrity | |
Systems........................................................................................................................ | 42 |
The Path List.................................................................................................................. | 42 |
Moving Libraries After Linking with +s and SHLIB_PATH.......................................................... | 43 |
Specifying a Path List with +s and SHLIB_PATH.................................................................. | 43 |
For more information: ............................................................................................... | 43 |
Ignoring Dynamic Path Environment Variables with +noenvvar................................................. | 43 |
Controlling Archive Library Loading with +[no]forceload......................................................... | 44 |
Passing Linker Options in a file with -c.................................................................................. | 44 |
Passing Linker Options with LDOPTS..................................................................................... | 44 |
Specifying Libraries with -l and -l:......................................................................................... | 45 |
Specifying Libraries (-l)................................................................................................... | 45 |
Using the -l: option........................................................................................................ | 45 |
Example Using -l:.......................................................................................................... | 45 |
Flagging Unsatisfied Symbols with +[no]allowunsats............................................................... | 45 |
Stripping Symbol Table Information from the Output File with -s and -x...................................... | 46 |
Controlling Output from the Unwind Table with +strip unwind.................................................. | 46 |
Using the IPF Linker with +compat or +std............................................................................. | 46 |
Using the Linker with +compat for Compatibility Mode....................................................... | 46 |
Using the Linker with +std for Standard Mode................................................................... | 47 |