Displaying 2 results from an estimated 2 matches for "lslib1".
Did you mean:
ldlib1
2014 Sep 17
2
[LLVMdev] [lld] -Bstatic / -Bdynamic switches handling
...inst shared 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...
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...