mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
40242601b2
Trick uses dlsym to dynamically load symbols at run time. At link time, it cannot be known which symbols will be needed. When presented with a library, the linker will only link in symbols that are known to be needed. Therefore, the use of -whole-archive (Linux) or -force_load (Mac) is necessary when linking a Trickified library into a sim. We can simplify this by partially linking into an object instead of creating a library. The linker will link all symbols in an object regardless of whether or not they are known to be needed. Refs #309 |
||
---|---|---|
.. | ||
doc/trick | ||
man/man1 | ||
trick |