Displaying 2 results from an estimated 2 matches for "slib2".
Did you mean:
glib2
2014 Sep 17
2
[LLVMdev] [lld] -Bstatic / -Bdynamic switches handling
...ed libs) is treated by lld and GNU ld.
According to the GNU ld docs, the switch affects library searching for
-l options *which follow it*.
This means -Bstatic can be used multiple times in the command line to
disable dynamic linking for particular -l options. For example:
ld -Bstatic -lslib1 -lslib2 -Bdynamic -ldlib1 -Bstatic -lslib3...
Even though the GNU linker won't search for so-files for slib1, slib2
and slib3, so-file for dlib1 will still be considered as it is preceded
by -Bdynamic.
Lld behaves differently.
-Bdynamic is not recognized yet, whereas -Bstatic applies static linkage...
2014 Sep 17
2
[LLVMdev] [lld] -Bstatic / -Bdynamic switches handling
...According to the GNU ld docs, the switch affects library searching
> for -l options *which follow it*.
> This means -Bstatic can be used multiple times in the command line
> to disable dynamic linking for particular -l options. For example:
>
> ld -Bstatic -lslib1 -lslib2 -Bdynamic -ldlib1 -Bstatic -lslib3...
>
> Even though the GNU linker won't search for so-files for slib1,
> slib2 and slib3, so-file for dlib1 will still be considered as it
> is preceded by -Bdynamic.
>
> Lld behaves differently.
> -Bdynamic is not reco...