|-Bsymbolic for exactly one symbol. email@example.com (2001-08-08)|
|Re: -Bsymbolic for exactly one symbol. firstname.lastname@example.org (2001-08-08)|
|Re: -Bsymbolic for exactly one symbol. email@example.com (Ian Lance Taylor) (2001-08-15)|
|Re: -Bsymbolic for exactly one symbol. firstname.lastname@example.org (Shankar Unni) (2001-08-15)|
|From:||Ian Lance Taylor <email@example.com>|
|Date:||15 Aug 2001 01:14:30 -0400|
|Posted-Date:||15 Aug 2001 01:14:30 EDT|
firstname.lastname@example.org (Roman Shaposhnick) writes:
> So my question is: how can I force linker to resolve just one reference
> to the particular symbol ( A::A() from the shared2.cc in my example ).
If you are using the GNU linker, you can use a version script:
The documentation kind of sucks, but basically, among other things,
you can define particular symbols as local. They will be resolved
within the shared library as though you used -Bsymbolic.
Return to the
Search the comp.compilers archives again.