mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 04:09:02 +01:00
Update tutorial-ubuntu-16.04.md
This commit is contained in:
parent
3de212139a
commit
b94c551e51
@ -147,4 +147,12 @@ See [here](http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html) fo
|
|||||||
```
|
```
|
||||||
-Wl,--export-dynamic
|
-Wl,--export-dynamic
|
||||||
```
|
```
|
||||||
incantation.
|
incantation. The salient point being
|
||||||
|
```
|
||||||
|
"In some cases, the call to gcc to create the object file will also need to include the option
|
||||||
|
'-Wl,-export-dynamic'. Normally, the dynamic symbol table contains only symbols which
|
||||||
|
are used by a dynamic object. This option (when creating an ELF file) adds all symbols to the
|
||||||
|
dynamic symbol table (see ld(1) for more information). You need to use this option when there are
|
||||||
|
'reverse dependencies', i.e., a DL library has unresolved symbols that by convention must be
|
||||||
|
defined in the programs that intend to load these libraries."
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user