Displaying 2 results from an estimated 2 matches for "lslib3".
Did you mean:
lslib1
2014 Sep 17
2
[LLVMdev] [lld] -Bstatic / -Bdynamic switches handling
...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
on the binary level, i.e. it'...
2014 Sep 17
2
[LLVMdev] [lld] -Bstatic / -Bdynamic switches handling
...e 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 applie...